![]() You can replace “version number” with the version you want to install, here I am installing stable version “16.x” by below mentioned command: curl -sL -o nodesource_setup.sh Install PPA – To install NodeJs Package using “Apt”, add the repository to Package list using below-mentioned syntax:Ĭurl -sL -o nodesource_setup.sh.This is an alternative repository containing ‘Apt’ and contains current versions than the official Debian repositories for NodeJs.įollow the steps below for successful installation of NodeJs using PPA: You can use a PPA (Personal Package Archive) provided by NodeSource to operate with the latest version of NodeJs. Method 2 – How to install NodeJs using NodeSource PPA ![]() Check Version – To verify the correct version installation of NodeJs, run the below mentioned command to check version number of recently installed NodeJs: node -v.Install Nodejs and NPM – The “npm” is the package manager of NodeJs, run the below mentioned command to install NodeJs and npm on Debian 11: sudo apt install nodejs npm.Update Packages – First update all the packages previously installed in the System by below mentioned command: sudo apt update.To get this version of NodeJs on your Debian system follow the steps mentioned below: ![]() ![]() Method 1 – Installing Nodejs from Debian RepositoryĪt the time of writing this tutorial, the Node.js 12.22.5 version is available under default repositories.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |