python3-cyberfusion-nodechup
Use nodechup to install multiple Node.js versions.
Need multiple Node.js versions on your system? Installing multiple Node.js Debian packages is not supported. nodechup allows you to install multiple Node.js versions with a Python API and a CLI.
Install
PyPI
Run the following command to install the package from PyPI:
pip3 install python3-cyberfusion-nodechup
Debian
Run the following commands to build a Debian package:
mk-build-deps -i -t 'apt -o Debug::pkgProblemResolver=yes --no-install-recommends -y'
dpkg-buildpackage -us -uc
Configure
No configuration is supported.
Usage
Concepts
- Base directory: contains one or more Node.js installations.
- Node.js installation: represents Node.js version.
Notes about point release
Omit point release
Node.js versions must contain major/minor release. Point release is optional.
If the point release is omitted, the most recent point release for the specified major/minor release is used.
Release symlink
If 'update default version' is true, nodechup creates a symlink in the base directory path from the major/minor release to the installed point release.
For example:
/usr/local/lib/nodejs/14.19 -> /usr/local/lib/nodejs/14.19.1
Notes about base directory
- The Node.js wiki recommends using the base directory
/usr/local/lib/nodejs. - The base directory is created if it doesn't exist yet.
Python API
Use the Python API as follows:
import os
from cyberfusion.Nodechup import BaseDirectory, Installation
Installation(base_directory=BaseDirectory(path="/usr/local/lib/nodejs/"), version="14.19.1").download(
update_default_version=True)
CLI
Run the nodechup command without any arguments for help.
Release files for python3-cyberfusion-nodechup 1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| python3_cyberfusion_nodechup-1.4.tar.gz | 4.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| python3_cyberfusion_nodechup-1.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.8 kB
Release files / python3_cyberfusion_nodechup-1.4.tar.gz
| Download URL | python3_cyberfusion_nodechup-1.4.tar.gz |
|---|---|
| Size | 4.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
70e09808ef2440d4a57ea85754abc21c3ea5a43129d6d126ce651ef4da89f5f9
|
|
BLAKE2b-256 checksum How to use checksums |
640c514307e3b4e74bd643759f107d76e5c68126ed5d050b5d84ab6d4141e2ff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.11
|
Release files / python3_cyberfusion_nodechup-1.4-py3-none-any.whl
| Download URL | python3_cyberfusion_nodechup-1.4-py3-none-any.whl |
|---|---|
| Size | 5.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c9cd540338399094d551b53ea39ce0794d2338f1820b629c1ae1e1d14c1f90c3
|
|
BLAKE2b-256 checksum How to use checksums |
17994e3fdc753e6037697269f65ce5432b4f8a656ddb84371e2fe8829b96ef12
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.11
|