| Name | nodechup JSON |
| Version |
1.2.2.1
JSON |
| download |
| home_page | None |
| Summary | Use nodechup to install multiple Node.js versions. |
| upload_time | 2024-08-26 14:45:31 |
| maintainer | None |
| docs_url | None |
| author | None |
| requires_python | None |
| license | None |
| keywords |
|
| VCS |
 |
| bugtrack_url |
|
| requirements |
No requirements were recorded.
|
| Travis-CI |
No Travis.
|
| coveralls test coverage |
No coveralls.
|
# 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 nodechup
# 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](https://github.com/nodejs/help/wiki/Installation) 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:
```python
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.
Raw data
{
"_id": null,
"home_page": null,
"name": "nodechup",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": null,
"author": null,
"author_email": "Cyberfusion <support@cyberfusion.io>",
"download_url": "https://files.pythonhosted.org/packages/bc/fb/bc979f22eeda241f777d05b279c06b75754d43b63393604195ef3b532068/nodechup-1.2.2.1.tar.gz",
"platform": null,
"description": "# nodechup\n\nUse nodechup to install multiple Node.js versions.\n\nNeed 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.\n\n# Install\n\n## PyPI\n\nRun the following command to install the package from PyPI:\n\n pip3 install nodechup\n\n# Configure\n\nNo configuration is supported.\n\n# Usage\n\n## Concepts\n\n* Base directory: contains one or more Node.js installations.\n* Node.js installation: represents Node.js version.\n\n### Notes about point release\n\n#### Omit point release\n\nNode.js versions must contain major/minor release. Point release is optional.\n\nIf the point release is omitted, the most recent point release for the specified major/minor release is used.\n\n#### Release symlink\n\nIf 'update default version' is true, nodechup creates a symlink in the base directory path from the major/minor release to the installed point release.\n\nFor example:\n\n /usr/local/lib/nodejs/14.19 -> /usr/local/lib/nodejs/14.19.1\n\n### Notes about base directory\n\n* The [Node.js wiki](https://github.com/nodejs/help/wiki/Installation) recommends using the base directory `/usr/local/lib/nodejs`.\n* The base directory is created if it doesn't exist yet.\n\n## Python API\n\nUse the Python API as follows:\n\n```python\nimport os\n\nfrom cyberfusion.Nodechup import BaseDirectory, Installation\n\nInstallation(base_directory=BaseDirectory(path=\"/usr/local/lib/nodejs/\"), version=\"14.19.1\").download(\n update_default_version=True)\n```\n\n## CLI\n\nRun the `nodechup` command without any arguments for help.\n",
"bugtrack_url": null,
"license": null,
"summary": "Use nodechup to install multiple Node.js versions.",
"version": "1.2.2.1",
"project_urls": {
"Source": "https://github.com/CyberfusionIO/nodechup"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "db1d21a4f508c1b0d2535ba88dd76c6c8159a76bd58bc66da4fe515eb0151e71",
"md5": "d2b51b177ccccd2b0f3313597cd5df72",
"sha256": "7e55d07fab8080b347c423fda0c80719ec664329cd08c0afd7e99f31adcab4e0"
},
"downloads": -1,
"filename": "nodechup-1.2.2.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "d2b51b177ccccd2b0f3313597cd5df72",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 5549,
"upload_time": "2024-08-26T14:45:30",
"upload_time_iso_8601": "2024-08-26T14:45:30.657743Z",
"url": "https://files.pythonhosted.org/packages/db/1d/21a4f508c1b0d2535ba88dd76c6c8159a76bd58bc66da4fe515eb0151e71/nodechup-1.2.2.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "bcfbbc979f22eeda241f777d05b279c06b75754d43b63393604195ef3b532068",
"md5": "41c1c23c214204574691718f0c2a16e8",
"sha256": "1a8d1a8a7a30b2c988cac5c71a60afce1df00362eaf65f2d025782547a99c5ca"
},
"downloads": -1,
"filename": "nodechup-1.2.2.1.tar.gz",
"has_sig": false,
"md5_digest": "41c1c23c214204574691718f0c2a16e8",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4665,
"upload_time": "2024-08-26T14:45:31",
"upload_time_iso_8601": "2024-08-26T14:45:31.817900Z",
"url": "https://files.pythonhosted.org/packages/bc/fb/bc979f22eeda241f777d05b279c06b75754d43b63393604195ef3b532068/nodechup-1.2.2.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-08-26 14:45:31",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "CyberfusionIO",
"github_project": "nodechup",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "nodechup"
}