Back to Blog
Update nodejs debian6/12/2023 Sudo apt-get update & sudo apt-get install yarn com/debian stable main" | sudo tee /etc/apt/ sources. gpg >/dev/nullĮcho "deb https:/ /dl.yarnpkg. gpg | gpg -dearmor | sudo tee /usr/share/ keyrings/ yarnkey. # To install the Yarn package manager, run:Ĭurl -sL https:/ /dl.yarnpkg. # You may also need development tools to build native addons: # Run `sudo apt-get install -y nodejs` to install Node.js 14.x and npm com/node_ 14.x kinetic/main amd64 Packages com/node_ 14.x kinetic main' > /etc/apt/ sources. # Creating apt sources list file for the NodeSource Node.js 14.x repo. Gpg: WARNING: unsafe ownership on homedir '/home/ mirao/. gpg.key | gpg -dearmor | tee /usr/share/ keyrings/ nodesource. # Adding the NodeSource signing key to your keyring. + curl -sLf -o /dev/null ' https:/ /deb.nodesource. # Installing the NodeSource Node.js 14.x repo. You can see that NodeJS 18.x instead of NodeJS 14.x will be installed: com/nodesource/ distributions/ blob/master/ README. Suppose no NodeJS version is installed (and no external NodeJS repo is saved in /etc/apt)Ĭommand 'node' not found, but can be installed with:
0 Comments
Read More
Leave a Reply. |