Node.js und npm: Unterschied zwischen den Versionen

Aus Tutorials
Zur Navigation springen Zur Suche springen
 
(7 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 3: Zeile 3:
'''npm''' wird automatisch mit '''Node.js''' mit installiert.
'''npm''' wird automatisch mit '''Node.js''' mit installiert.


=== Installation ===
== Versionen ==


Von [https://nodejs.org/en/ https://nodejs.org/en/] den Link zur aktuellsten Version besorgen und per '''wget''' herunterladen:
=== Kompatibilität ===
 
[https://angular.dev/reference/versions https://angular.dev/reference/versions]
 
=== NVM (Node Version Manager) ===
 
==== Ubuntu ====
 
[https://github.com/nvm-sh/nvm?tab=readme-ov-file https://github.com/nvm-sh/nvm?tab=readme-ov-file]
 
==== Windows ====
 
[https://github.com/coreybutler/nvm-windows https://github.com/coreybutler/nvm-windows]
 
== Installation ==
 
=== Ubuntu ===
 
Auf [https://github.com/nodesource/distributions#debinstall https://github.com/nodesource/distributions#debinstall] die aktuelle Version herausfinden und intallieren:


<pre>
<pre>
wget https://nodejs.org/dist/v10.3.0/node-v10.3.0-linux-x64.tar.xz
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
sudo apt-get install -y nodejs
</pre>
</pre>


Entpacken:
=== Windows ===


<pre>
Download: [https://nodejs.org/en/download/ https://nodejs.org/en/download/]
tar -xJf node-v10.3.0-linux-x64.tar.xz
</pre>


=== Link ===
=== Link ===

Aktuelle Version vom 4. Februar 2025, 09:14 Uhr

Allgemein

npm wird automatisch mit Node.js mit installiert.

Versionen

Kompatibilität

https://angular.dev/reference/versions

NVM (Node Version Manager)

Ubuntu

https://github.com/nvm-sh/nvm?tab=readme-ov-file

Windows

https://github.com/coreybutler/nvm-windows

Installation

Ubuntu

Auf https://github.com/nodesource/distributions#debinstall die aktuelle Version herausfinden und intallieren:

curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
sudo apt-get install -y nodejs

Windows

Download: https://nodejs.org/en/download/

Link

https://nodejs.org/en/

https://www.npmjs.com/


Zurück zu JavaScript