To set the default version of Node.js as v12, run: $ nvm use 12 The installation can be confirmed using node and nvm commands: $ node -v Manpath: can't set the locale make sure $LC_* and $LANG are correctĬreating default alias: default -> v12 (-> v12.22.7) Install Node.js 12 on Debian 11/10/9 using NVM $ nvm install v12ĭownloading and installing node v12.22.7. To list available versions of Node.js that can be installed using nvm: nvm list-remote Source your bashrc file to start using nvm source ~/.bashrc Run below commands to download and install Node Version Manager curl -o- | bash Sudo apt install yarn Install Node.js 12 on Debian 11/10/9 using NVM Run the following commands to install the Yarn package manager: curl -sL | gpg -dearmor | sudo tee /usr/share/keyrings/yarnkey.gpg >/dev/nullĮcho "deb stable main" | sudo tee /etc/apt//yarn.list If you’ll be building native Node.js addons, install the development tools: sudo apt update V12.22.7 Install Development tools an Yarn sudo apt updateĬonfirm Node version after the installation: $ node -v We will add the repository to our system and then install Node.js 12 on Debian 11/10/9.Īdd the repository and install Node.js 12 on Debian 11/10/9 by running the following commands in your terminal. The Nodesource software company builds and host supported versions of Node.js. Node.js 16 “Gallium” Install Node.js 12 on Debian 11/10/9 from Nodesource repo.As of this article update below are actively supported LTS releases of Node.js
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |