
nvm bash install_nvm.shįor NVM to be efficiently executed, it will be necessary to close the session and start it again or run the line source ~/.profile We will be able to visualize the content of the script running the following command: nano install_nvm.shĮxecute the script using the next line. In this way we have installed NVM in Debian and Node.js will be installed in the path ~ /. Once the packages are downloaded, we proceed to download the NVM script from the official page by executing the following command: curl -sL -o install_nvm.sh Sudo apt-get install build-essential libssl-dev To start, we will execute the following commands with which we will update the system and install the necessary packages. Thanks to NVM we will have more control over the different versions of Node.js allowing us to obtain higher benefits and competitiveness. NVM is a tool that has been designed to install Node.js safely and efficiently on Debian. To install Node.js using this method we will execute the following commands: For Latest Version: sudo apt-get install curl python-software-propertiesĬurl -sL | sudo bash - For LTS Version: sudo apt-get install curl python-software-propertiesĬurl -sL | sudo bash - Method NVM: Install Node.js The first option we have for the installation of Node.js is using the PPA (personal package file) directly from the developer which guarantees us to have the latest stable version and is the simplest and fastest method. Node.js is a JavaScript execution environment which has been developed with the Chrome V8 JavaScript engine offering significant benefits and advantages for all users of these applications. Detailed steps to install the Node.js environment on Debian.
