4/6/2023 0 Comments Ubuntu nvmYou can see the different versions you have installed by typing "list": nvm list Let's install the latest LTS version: nvm install v18.12.1ĭownloading and installing node v18.12.1. Now list the NVM installable Node versions: nvm ls-remote If you are using different shell the command should be different, For example:ĪLSO READ: How to install Conda on Ubuntu? Installing Node With NVM "$NVM_DIR/bash_completion" # This loads nvm bash_completion => Close and reopen your terminal to start using nvm or run the following to use it now: => Appending bash_completion source string to /home/foc/.bashrc => Appending nvm source string to /home/foc/.bashrc => Compressing and cleaning up git repository Remote: Total 356 (delta 39), reused 164 (delta 27), pack-reused 0 => Downloading nvm from git to '/home/foc/.nvm' The install.sh script from the official github page is pulled with wget: wget -qO- | bash For example, let's install wget: sudo apt install wget -y Then you should install the wget or curl package to download the installation script. Next, we will show examples of migrations between different Node versions.ĭownload and Install NVM From Official Repoįirst, update the package list: sudo apt update -y In this article we will install NVM on Ubuntu. It allows you to switch between different Node versions depending on the project being worked on. NVM allows to install different versions of Node. Node Version Manager (NVM) is a tool for managing Node versions on servers.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |