![]() ![]() This command installs Node.js and the related NPM. You can pick any specific version to install. You can check all available Node.js versions using the following command. If you have a previous version of Node.js installed already, either from the default repositories or a different NodeSource repository, this command will handle upgrading for you: su -c apt install -y nodejs. With your system up to date, you can install Node.js v14.x. You can verify the installation using the below command. Installing or upgrading to Node.js v14.x. ![]() Before we get started, if you just want to get Node. Step 0: TL DR - Install Node.js Quickly on Debian. This command downloads the installation script and runs it.įor the nvm command to be available you need to close the terminal and open again or you can simply execute the following command to make it available in your current session. These are the versions supported by the Node.js Debian binary distributions at time of writing. sudo su usernameĮxecute the following command to install NVM. To see all the versions of NodeJS you can install, use the following command: : nvm ls-remote. Switch to the user on which you need to use Node.js. Now in order to be able to use NVM from the terminal, we need to refresh our bash profile file. The version available at the time of this article writing is v0.39.1. You can copy the link for the latest NVM installation bash script directly from their official repository. The second method requires a bit more effort than the first, however in case you want to install a specific version of NodeJS and/or NPM, then this method is. Start by updating and upgrading the server packages to the latest version available. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |