node

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen Revision Vorhergehende Überarbeitung
node [17/08/2024 - 07:06] – Externe Bearbeitung 127.0.0.1node [12/10/2024 - 18:54] (aktuell) admin
Zeile 1: Zeile 1:
 https://github.com/nodesource/distributions/blob/master/README.md https://github.com/nodesource/distributions/blob/master/README.md
 +https://reintech.io/blog/installing-nodejs-npm-debian-12
  
 <code> <code>
Zeile 5: Zeile 6:
 # wget can also be used: # wget can also be used:
 # wget --quiet -O - https://deb.nodesource.com/gpgkey/nodesource.gpg.key | sudo apt-key add - # wget --quiet -O - https://deb.nodesource.com/gpgkey/nodesource.gpg.key | sudo apt-key add -
-</code> 
- 
- 
-<code> 
-# Replace with the branch of Node.js or io.js you want to install: node_6.x, node_8.x, etc... 
-VERSION=node_8.x 
-# The below command will set this correctly, but if lsb_release isn't available, you can set it manually: 
-# - For Debian distributions: jessie, sid, etc... 
-# - For Ubuntu distributions: xenial, bionic, etc... 
-# - For Debian or Ubuntu derived distributions your best option is to use the codename corresponding to the upstream release your distribution is based off. This is an advanced scenario and unsupported if your distribution is not listed as supported per earlier in this README. 
-DISTRO="$(lsb_release -s -c)" 
-echo "deb https://deb.nodesource.com/$VERSION $DISTRO main" | sudo tee /etc/apt/sources.list.d/nodesource.list 
-echo "deb-src https://deb.nodesource.com/$VERSION $DISTRO main" | sudo tee -a /etc/apt/sources.list.d/nodesource.list 
 </code> </code>
  
 <code> <code>
-sudo apt-get update +curl -fsSL https://deb.nodesource.com/setup_21.x | sudo -E bash - 
-sudo apt-get install nodejs+sudo apt-get install -y nodejs
 </code> </code>
  
  • node.1723878391.txt.gz
  • Zuletzt geändert: 17/08/2024 - 07:06
  • von 127.0.0.1