![]() Nvm is a Node Version Manager for windows, that allows you to manage multiple installations of node.js on a Windows computer. If you don’t have it, you need to download an installer the first time.Īfter you have completed installation, you can update to the latest node. To update to the latest node.js version, you can run the following command: nvm install node -reinstall-packages-from=node Updating Node.js on Windowsįor Windows, the options are not that many, but still you can do it through command line. To see your current node version node -version To see available node versions brew search node To unlink from current version brew unlink node Install any version e.g. Nvm is a script-based node version manager. If you don’t have it, your can install it: curl -o- | bash To update to the latest node.js version, you can run the following command: brew update ![]() If you haven’t installed node through brew you can do it using this command: brew install node If you don’t have it, your can install it: /usr/bin/ruby -e "$(curl -fsSL )" To update to the latest node.js version, you can run the following command: sudo n latest If you don’t have it, you can install it: $ npm install -g n N is a very simple node.js version management system. To update node.js on a mac, through terminal, you have a lot of options through popular package managers or node.js version managers. Node.js is updating quite frequently these days, so using your terminal on a Mac or command line on Windows would make update process faster.
0 Comments
Leave a Reply. |