
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
![NPM version][npm-badge] [npm-badge]: https://badge.fury.io/js/chnode.png
Change between installed Node version in your current shell with a simple
chnode VERSION
. Leaves the system version untouched. Works out of the box with
Mac's Homebrew.
NODES
variable.Side note: I'm terribly ashamed of not yet having tests!
Install Chnode.sh globally with:
npm install --global chnode
Then source it in your shell:
. "$(npm bin --global)/chnode"
For convenience you might want to put the output of the following in your
.zshrc
or .bashrc
.
It'll be faster than running the line above with npm bin
which will slow down
your shell loading.
echo ". \"$(npm bin --global)/chnode\""
Change between installed Node versions with:
chnode 0.11.7
Option | Description |
---|---|
-h, -?, --help | Display this help. |
-r, --refresh | Refresh and find all available Node versions. |
-l, --list | List all available Node versions. |
On the Mac Chnode.sh will find installed Nodes in /usr/local/Cellar/node
.
If you've got installations somewhere else, set the NODES
variable to an
array of paths of individual versions:
NODES+=(~./.nodes/*)
For example, if you've got Node compiled from the source at
~/Development/node-master
, append that:
NODES+=(~/Development/node-master)
If you think Chnode.sh should detect some of your paths automatically, please let me know by creating an issue. Thanks!
Chnode.sh is released under a Lesser GNU Affero General Public License, which in summary means:
For more convoluted language, see the LICENSE
file.
Andri Möll typed this and the code.
Monday Calendar supported the engineering work.
If you find Chnode.sh needs improving, please don't hesitate to type to me now at andri@dot.ee or create an issue online.
1.0.0 (Jan 18, 2014)
FAQs
Change between installed Node version in your shell.
The npm package chnode receives a total of 1 weekly downloads. As such, chnode popularity was classified as not popular.
We found that chnode 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
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.