To install a specific version of node: as of this writing,, the latest LTS is 12.13.0 $ nvm install 12.13.0 You can list available versions using ls-remote: $ nvm ls-remote New shells (each time you logout/log back in) will start with the default version of node. The first version installed becomes the default. To download, compile, and install the latest release of node, do this: $ nvm install nodeĪs of this writing,, the latest version is 13.0.1 After running the install script, if you get nvm: command not found or see no feedback from your terminal after you type command -v nvm, simply logout of your terminal, then log back in and try verifying again. Which should output nvm if the installation was successful. To verify that nvm has been installed, do: $ command -v nvm Running either of the above commands downloads a script and runs it. To do that, you may either download and run the script manually, or use the following cURL or Wget command: $ curl -o- | bash To install or update nvm, you should run the install script. Install using Node.js Version Manager (NVM)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |