badjumbo.blogg.se

Install latest nodejs debian
Install latest nodejs debian




install latest nodejs debian

You also can set set version 10.15.3 as the default Node.js version using below command: nvm alias default 10.15.3 Now verify it by typing: nvm current Output

install latest nodejs debian

You can change the current default version of Node.js by using the following command: nvm use 10.15.3 Default version is set to v12.0.0 and it will be used when you open new shell sessions. In output version with arrow is used for the current shell session. Once the both of above versions are installed we can view list using below command: nvm ls -> v9.10.1

install latest nodejs debian

To do so type following: nvm install -lts Next, We will install two more versions of Node.js. Once the installation is finished you can check the version of Node.js by typing : node -version Output It will show output as below: Downloading and installing node v12.0.0… You can install the latest available version of Node.js using below command: nvm install node Now you have nvm installed on your Debian system. You can verify that nvm is installed properly by typing: nvm -version Output "$NVM_DIR/bash_completion" # This loads nvm bash_completionĪs you can see in output, it is suggesting to either open new shell session or run the commands to add the path to the nvm script to your current session. Close and reopen your terminal to start using nvm or run the following to use it now:






Install latest nodejs debian