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.
Metadata
Release files for python3-cyberfusion-nodechup 1.4.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| python3_cyberfusion_nodechup-1.4.1.tar.gz | 5.3 kB | Without provenance | Details for python3_cyberfusion_nodechup-1.4.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| python3_cyberfusion_nodechup-1.4.1-py3-none-any.whl | Python 3 | none | any | Details for python3_cyberfusion_nodechup-1.4.1-py3-none-any.whl |
Total release size: 11.5 kB
Release files / python3_cyberfusion_nodechup-1.4.1.tar.gz
| Download URL | python3_cyberfusion_nodechup-1.4.1.tar.gz |
|---|---|
| Size | 5.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ae8316969033d3e58683248496c1401f3c75a93855f246107e1babfa9865a07b
|
|
BLAKE2b-256 checksum How to use checksums |
43d840a8f85c8eb21265986fbecfb1e4811bf75947395f38eabda638d7e548f9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.18
|
Release files / python3_cyberfusion_nodechup-1.4.1-py3-none-any.whl
| Download URL | python3_cyberfusion_nodechup-1.4.1-py3-none-any.whl |
|---|---|
| Size | 6.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
03affbcbde62bfc5c0eabf7086349a552ef43b4bd28b6e37fbe8e256d4e89d6e
|
|
BLAKE2b-256 checksum How to use checksums |
56c8fc5ebfc018932d8d042d7a722ea133266e969d5f07b9f494430fdc379cef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.18
|
Security for python3-cyberfusion-nodechup 1.4.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.