<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
	<id>https://geralis.ddns.net/cyberwiki/index.php?action=history&amp;feed=atom&amp;title=Node.js_und_npm_installieren_am_Zero_W</id>
	<title>Node.js und npm installieren am Zero W - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="https://geralis.ddns.net/cyberwiki/index.php?action=history&amp;feed=atom&amp;title=Node.js_und_npm_installieren_am_Zero_W"/>
	<link rel="alternate" type="text/html" href="https://geralis.ddns.net/cyberwiki/index.php?title=Node.js_und_npm_installieren_am_Zero_W&amp;action=history"/>
	<updated>2026-05-19T14:34:10Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in CyberWiki</subtitle>
	<generator>MediaWiki 1.39.1</generator>
	<entry>
		<id>https://geralis.ddns.net/cyberwiki/index.php?title=Node.js_und_npm_installieren_am_Zero_W&amp;diff=762&amp;oldid=prev</id>
		<title>Geli am 16. März 2019 um 07:52 Uhr</title>
		<link rel="alternate" type="text/html" href="https://geralis.ddns.net/cyberwiki/index.php?title=Node.js_und_npm_installieren_am_Zero_W&amp;diff=762&amp;oldid=prev"/>
		<updated>2019-03-16T07:52:59Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;de&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version vom 16. März 2019, 09:52 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Zeile 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Sollen '''Node.js''' (JavaScript Laufzeitumgebung) und '''npm''' (dazugehöriger Paketmanager) auf dem Raspberry Pi Zero W installiert werden, benötigt man die folgende Vorgehensweise, da Anleitungen für den großen Raspberry Pi nicht funktionieren. Der Unterschied liegt in der Prozessorarchitektur.&amp;lt;br /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Sollen '''Node.js''' (JavaScript Laufzeitumgebung) und '''npm''' (dazugehöriger Paketmanager) auf dem Raspberry Pi Zero W installiert werden, benötigt man die folgende Vorgehensweise, da Anleitungen für den &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;''&lt;/ins&gt;großen&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;'' &lt;/ins&gt;Raspberry Pi nicht funktionieren. Der Unterschied liegt in der Prozessorarchitektur.&amp;lt;br /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Zuvor soll überprüft werden, ob Node.js nicht ohnehin installiert ist.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Zuvor soll überprüft werden, ob Node.js nicht ohnehin installiert ist.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  node --version  # Should output &amp;gt; v10.X&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  node --version  # Should output &amp;gt; v10.X&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Geli</name></author>
	</entry>
	<entry>
		<id>https://geralis.ddns.net/cyberwiki/index.php?title=Node.js_und_npm_installieren_am_Zero_W&amp;diff=761&amp;oldid=prev</id>
		<title>Geli: Die Seite wurde neu angelegt: „Sollen '''Node.js''' (JavaScript Laufzeitumgebung) und '''npm''' (dazugehöriger Paketmanager) auf dem Raspberry Pi Zero W installiert werden, benötigt man di…“</title>
		<link rel="alternate" type="text/html" href="https://geralis.ddns.net/cyberwiki/index.php?title=Node.js_und_npm_installieren_am_Zero_W&amp;diff=761&amp;oldid=prev"/>
		<updated>2019-03-16T07:52:01Z</updated>

		<summary type="html">&lt;p&gt;Die Seite wurde neu angelegt: „Sollen &amp;#039;&amp;#039;&amp;#039;Node.js&amp;#039;&amp;#039;&amp;#039; (JavaScript Laufzeitumgebung) und &amp;#039;&amp;#039;&amp;#039;npm&amp;#039;&amp;#039;&amp;#039; (dazugehöriger Paketmanager) auf dem Raspberry Pi Zero W installiert werden, benötigt man di…“&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Sollen '''Node.js''' (JavaScript Laufzeitumgebung) und '''npm''' (dazugehöriger Paketmanager) auf dem Raspberry Pi Zero W installiert werden, benötigt man die folgende Vorgehensweise, da Anleitungen für den großen Raspberry Pi nicht funktionieren. Der Unterschied liegt in der Prozessorarchitektur.&amp;lt;br /&amp;gt;&lt;br /&gt;
Zuvor soll überprüft werden, ob Node.js nicht ohnehin installiert ist.&lt;br /&gt;
 node --version  # Should output &amp;gt; v10.X&lt;br /&gt;
 npm --version  # Should output &amp;gt; 6.X&lt;br /&gt;
Falls das der Fall ist, ist man bereits fertig. Ansonsten wird wie hier &lt;br /&gt;
[https://www.thepolyglotdeveloper.com/2018/03/install-nodejs-raspberry-pi-zero-w-nodesource/ Install Node.js on a Raspberry Pi Zero W] vorgegangen.&amp;lt;br /&amp;gt;&lt;br /&gt;
Die aktuelle Distribution findet man auf der offiziellen Website https://nodejs.org/dist/. Dort wählen wir die letzte Version https://nodejs.org/dist/v11.9.0/. In diesem Verzeichnis wählt man node-v11.9.0-linux-armv6l.tar.gz. Das File wird am besten in einem freigegebenen Ordner z.B. openHAB-conf/scripts temporär gespeichert. In PuTTY wird sodann folgendes ausgeführt:&lt;br /&gt;
 cd /etc/openhab2/scripts&lt;br /&gt;
 tar -xzf node-v11.9.0-linux-armv6l.tar.gz (6l heißt 6L, nicht 61)&lt;br /&gt;
 sudo cp -r node-v11.9.0-linux-armv6l/* /usr/local/&lt;br /&gt;
Die Versionen von Node.js und npm können mit&lt;br /&gt;
 node --version&lt;br /&gt;
 npm --version&lt;br /&gt;
überprüft werden. Zum Schluss wird das Downloadverzeichnis bereinigt:&lt;br /&gt;
 rm -Rf node-v11.9.0-linux-armv6l&lt;br /&gt;
 rm node-v11.9.0-linux-armv6l.tar.gz&lt;br /&gt;
Abschließend kann man testweise ein package.json-file erzeugen:&lt;br /&gt;
 mkdir test&lt;br /&gt;
 cd test&lt;br /&gt;
 npm init -y&lt;br /&gt;
Damit wird im Ordner test ein packge.json erzeugt. Das Directory test kann anschließen mit rm -r test wieder gelöscht werden.&lt;/div&gt;</summary>
		<author><name>Geli</name></author>
	</entry>
</feed>