Now that you have nvm installed on your Debian machine, to install the latest available version of Node.js, type: nvm install node Downloading and installing node v10.5.0. To ensure that nvm is properly installed type: nvm -version 0.33.11 To the nvm script to your current session. "$NVM_DIR/bash_completion" # This loads nvm bash_completionĪs the output above suggests, you can either open a new shell session or run the commands to add the path => Close and reopen your terminal to start using nvm or run the following to use it now: To the ~/.nvm directory and adds the nvm path to your Bash or ZSH profile. The installation script clones the nvm repository from Github With NVM you can install and uninstall any specific Node.js version that you want to use or test.Äownload the nvm install script with the following curl command NVM (Node Version Manager) is a bash script that allows you to manage multiple Node.js versions. To verify if the installation was successful, print the Node.js and npm versions: node -version v8.11.3 Once the NodeSource repository is added install Node.js and npm with the following command: sudo apt install nodejs If you want to install Node.js version 10.x just change setup_8.x with setup_10.x The current LTS version of Node.js is version 8.x, Carbon.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |