![]() ![]() To install LTS (Long Term Support) version of Node.js: nvm install -lts To install the latest version of Node.js: nvm install node To remove, delete, or uninstall nvm - just remove the `$NVM_DIR` folder (usually `~/.nvm`) Nvm -version Print out the installed version of nvm custom aliases you define with `nvm alias foo`Īny options that produce colorized output should respect the `-no-colors` option. default (built-in) aliases: node, stable, unstable, iojs, system ![]() full or partial version numbers, starting with an optional "v" (0.10, v0.1.2, v1) Note: refers to any version-like string nvm understands. Or to force update:įor full usage guide, use -help: nvm - help Bash Node Version Manager (v0.39.1) If you got nvm: command not found, you might need to restart the terminal session for the shell configuration to work. It's good practice to review shell scripts before executing them. Install NVM with install.sh from its latest release, change v0.39.1 if newer version is released: And the best part is NVM is just a Bash script, truly a lightweight helper for both testing and production.ĭownloading binaries from Node.js and update them manually every now and then is not a pleasant thing to do, and installing Node.js via package manager is usually not a good idea since it's not maintained by the core team and often outdated: Notice on official website of Node.js Installation ![]() It can install different versions of Node.js and NPM on a single machine, switch versions anytime you wish. ![]() Managing Node.js versions on Linux is no longer a pain in the ass with NVM (Node Version Manager). ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |