![]() ![]() You can choose either to install the latest Node.js version or LTS version.įor LTS Release Step 2 – Install Node.js on Debian #Īfter adding the required PPA to your system, install the Nodejs package. We also need to install the software-properties-common package if not installed already. You are required to add Node.js PPA to your system provided by the Nodejs official website. Once the installation is completed, you can learn more about it and its usage from the official documentation.To install specific nodejs version, Visit our tutorial Install Specific Nodejs Version with NVM. Well, finally we have both Node.js and NPM- Node package manager. ![]() Install Nodejs and NPM on Debian 11įinally, use the APT package manager to download and install the latest available version using the command terminal. Check available Node.js versions to installīefore installing let’s check whether the latest current of Node is on our system or not. + echo 'deb-src bullseye main' > /etc/apt//nodesource.listģ. ![]() + echo 'deb bullseye main' > /etc/apt//nodesource.list # Creating apt sources list file for the NodeSource Node.js 16.x repo. ![]() Gpg: WARNING: unsafe ownership on homedir '/home/h2s/.gnupg' + curl -s | gpg -dearmor | tee /usr/share/keyrings/nodesource.gpg >/dev/null # Adding the NodeSource signing key to your keyring. OutPut: # Installing the NodeSource Node.js 16.x repo. Hence those who want to get the latest and current version of Node need to add the official Node.js repository manually on Debian Bullseye.įor Latest Version curl -fsSL | sudo -E bash -įor LTS- Lont Tem Support versions use this repo instead above one: curl -fsSL | sudo -E bash. Add Node Js RepositoryĪlthough we already have the node.js to install on Debian 11 using its default base repo, however, the version will be old. Therefore, use the below command to install it: sudo apt install curl 2. Install Curlīy default, there will not be a Curl tool on Debian 11, but we need it to add to the repository. Check version Node js Installation on Debian 11 Bullseye Linux 1. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |