goodspaster.blogg.se

Nvm install node specific version
Nvm install node specific version










nvm install node specific version
  1. #Nvm install node specific version how to
  2. #Nvm install node specific version update

The installation process of the specified Node version will start: Downloading. In this case we want the stable version 8.x so we'll install it with NVM using: nvm install 8.9.3 At the date of this article, the latest available versions are Stable 8.9.3 LTS and 9.2.1 for the latest features. Īs next you can proceed with the installation of the version that you want.

nvm install node specific version nvm install node specific version

This will list all the available versions of Node.js. As previously mentioned, NVM allows you to install and use any version of Node.js, so the first you need to know is the list of versions that you can retrieve with the following command: nvm ls-remote If you already restarted the console or remote session (in case of accessing ubuntu from a SSH terminal), you will be able to use nvm on the command line. Once the installation finishes, you can delete the installation script ( install_nvm.sh) of NVM using: rm install_nvm.shĪfter the installation of NVM, you need to restart the console (or remote sesssion) in order to be able to use nvm. This will start the installation of NVM and will take a time. Once the download finishes, run the script with bash: bash install_nvm.sh The script may have a newer version, so be sure to visit the repository to see which is it. Alternatively in case that you have curl available from the command line, you can download it directly using the following command: The NVM installation is based on a SH file that you can download this script in the repository at Github here. Once the installation finishes, you will be able to install NVM.

#Nvm install node specific version update

As first step update the package lists using: sudo apt-get updateĪnd install the packages using: sudo apt-get install build-essential libssl-dev The build-essentials is a reference for all the packages needed to compile a debian package that generally includes the gcc/g++ compilers an libraries and some other utils. The libssl-dev package is part of the OpenSSL project's implementation of the SSL and TLS cryptographic protocols for secure communication over the Internet. Install Build Essentials and libssl-devīefore installing NVM, you will need the build-essentials and libssl-dev packages.

#Nvm install node specific version how to

In this article we'll show you how to install Node.js on Ubuntu using NVM (Node Version Manager), a bash script that allows you to manage multiple active node.js versions.












Nvm install node specific version