Use nvm ls to see what Node versions you have installed and nvm uninstall stable(or a specific version number) to remove a specific version of Node. Use nvm use stable (or a specific version number) to use that Node version. Then use nvm install stable (or insert a version number instead of stable) to get the latest/a specific version of Node. To install NVM globally instead, use the following curl command instead of the one above (and presumably don't use the second command but do use the third one) curl -o- | NVM_DIR=/usr/local/nvm bash Note: this branch of io.js is not actively maintained and is not recommended for production use. NOTE: If you are using Ubuntu Precise or Debian Wheezy, you might want to read about running Node.js >= 4.x on older distros. Please reference running Node.js >= 4.x on older distros # Using Ubuntu NOTE: Debian Wheezy and Ubuntu Precise packages are NOT available for this release. NOTE: If you are using Ubuntu Precise or Debian Wheezy, you might want to read about running Node.js >= 6.x on older distros | sudo bash - then you can follow the manual instructions, which tells you how to add the Node.js repository to /etc/apt// yourself. Instructions are the same for updating to the latest version. Complete installation instructions have since been uploaded here by Nodesource.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |