Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
@nodenv/nodenv-aliases
Advanced tools
Aliases for nodenv Node versions
Invoke nodenv alias <name> <version>
to make a symbolic link from <name>
to
<version>
in the nodenv versions directory, effectively creating an
alias. The cool part is that if you pass in a major or major.minor release as the name, you
can give --auto
to link to the latest installed minor or patch level (respectively). For example,
nodenv alias 4.4 --auto
will automatically create an alias from 4.4
to
4.4.7
(or to whatever is the most recent version you have installed). Similarly,
nodenv alias 6 --auto
will automatically create an alias from 6
to
6.10.3
(or to whatever is the most recent version you have installed).
Plus, if you're using node-build, nodenv install major.minor.patch
automatically invokes nodenv alias major --auto
and
nodenv alias major.minor --auto
, so you'll always have
up to date aliases.
git clone https://github.com/nodenv/nodenv-aliases.git $(nodenv root)/plugins/nodenv-aliases
Create a major
and major.minor
alias for each installed major and minor release:
nodenv alias --auto
Create a major
alias for the highest major release of, say 6:
nodenv alias 6 --auto
Create a major.minor
alias for the highest minor release of, say 0.8:
nodenv alias 0.8 --auto
Create a major.minor.patch-pre
alias for the highest prerelease of, say 8:
nodenv alias 8.0.0-rc --auto
Create a named alias for a specific release:
nodenv alias boron 6
Remove an alias:
nodenv unalias <alias-name>
or
nodenv alias <alias-name> --remove
Forked from Tim Pope's rbenv-aliases by Jason Karns and modified for nodenv.
FAQs
Create aliases for nodenv Node versions
The npm package @nodenv/nodenv-aliases receives a total of 1 weekly downloads. As such, @nodenv/nodenv-aliases popularity was classified as not popular.
We found that @nodenv/nodenv-aliases demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.