LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

n

node

TLDR

Install latest Node.js
$ n latest
copy
Install LTS version
$ n lts
copy
Install specific version
$ n [18.16.0]
copy
List installed versions
$ n ls
copy
Switch to installed version
$ n
copy
Remove version
$ n rm [18.16.0]
copy
Run specific version
$ n run [18.16.0] [script.js]
copy
Purge all versions
$ n prune
copy

SYNOPSIS

n [command] [version]

DESCRIPTION

n is a Node.js version manager. It installs and switches between Node.js versions.The tool manages multiple installations. Simple interface for version control.

PARAMETERS

VERSION

Node.js version number.
latest
Install latest version.
lts
Install LTS version.
ls
List installed versions.
rm VERSION
Remove version.
run VERSION
Run with specific version.
prune
Remove old versions.
--help
Display help information.

INSTALL

brew install n
copy

CAVEATS

Requires sudo for global install. Simpler than nvm. Bash script based.

HISTORY

n was created by TJ Holowaychuk as a simpler alternative to nvm for Node.js version management.

SEE ALSO

nvm(1), node(1), npm(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid