nvm is a simple tool to manage multiple node.js version for each projects.
In this article, I would like to show some tips to use nvm.
😎 Install
If you use macOS and Homebrew, please run the following command:
brew install nvm |
Or if you use Linux, you can use the install script using cURL:
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash |
If you use nvm and you put .nvmrc
, you can use specific version of node.js.
😸 .nvmrc
.nvmrc
specifies Node.js version in your project.
cd /path/to/project |
If you want to call automatically nvm use
when you enter the directory, please write the following code in your ~/.zshrc
# Node Version Manager |
🐰 Special Thanks
🖥 Recommended VPS Service
VULTR provides high performance cloud compute environment for you.
Vultr has 15 data-centers strategically placed around the globe, you can use a VPS with 512 MB memory for just $ 2.5 / month ($ 0.004 / hour).
In addition, Vultr is up to 4 times faster than the competition, so please check it => Check Benchmark Results!!