node

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Nächste Überarbeitung
Vorhergehende Überarbeitung
node [08/01/2021 - 08:13] – angelegt thommie4node [05/03/2024 - 10:52] (aktuell) – Externe Bearbeitung 127.0.0.1
Zeile 1: Zeile 1:
 https://github.com/nodesource/distributions/blob/master/README.md https://github.com/nodesource/distributions/blob/master/README.md
 +
 +<code>
 +curl -sSL https://deb.nodesource.com/gpgkey/nodesource.gpg.key | sudo apt-key add -
 +# wget can also be used:
 +# 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>
 +sudo apt-get update
 +sudo apt-get install nodejs
 +</code>
 +
 +
 +
  
  
  • node.1610093599.txt.gz
  • Zuletzt geändert: 05/03/2024 - 10:52
  • (Externe Bearbeitung)