{"id":868,"date":"2024-01-03T13:28:04","date_gmt":"2024-01-03T12:28:04","guid":{"rendered":"https:\/\/www.stephan-lubahn.de\/?p=868"},"modified":"2024-01-07T14:20:15","modified_gmt":"2024-01-07T13:20:15","slug":"installation-node-red-auf-ubuntu","status":"publish","type":"post","link":"https:\/\/www.stephan-lubahn.de\/?p=868","title":{"rendered":"Installation Node-Red auf Ubuntu"},"content":{"rendered":"\n<p><a href=\"https:\/\/github.com\/nvm-sh\/nvm#installing-and-updating\">https:\/\/github.com\/nvm-sh\/nvm#installing-and-updating<\/a><\/p>\n\n\n\n<p><code>curl -o- https:\/\/raw.githubusercontent.com\/nvm-sh\/nvm\/v0.39.5\/install.sh | bash<\/code><br><code>~\/.bashrc<\/code><br><\/p>\n\n\n\n<p>export NVM_DIR=&#8220;$([ -z &#8222;${XDG_CONFIG_HOME-}&#8220; ] &amp;&amp; printf %s &#8222;${HOME}\/.nvm&#8220; || printf %s &#8222;${XDG_CONFIG_HOME}\/nvm&#8220;)&#8220;<br>[ -s &#8222;$NVM_DIR\/nvm.sh&#8220; ] &amp;&amp; . &#8222;$NVM_DIR\/nvm.sh&#8220;<\/p>\n\n\n\n<p><br>wget -qO- https:\/\/raw.githubusercontent.com\/nvm-sh\/nvm\/v0.39.5\/install.sh | bash<br><br><code>sudo \/home\/${user}\/.nvm\/version\/node\/${version}\/bin\/npm install<\/code><br><br>nvm install node<br><\/p>\n\n\n\n<p>export NVM_DIR=&#8220;$([ -z &#8222;${XDG_CONFIG_HOME-}&#8220; ] &amp;&amp; printf %s &#8222;${HOME}\/.nvm&#8220; || printf %s &#8222;${XDG_CONFIG_HOME}\/nvm&#8220;)&#8220;<br>[ -s &#8222;$NVM_DIR\/nvm.sh&#8220; ] &amp;&amp; . &#8222;$NVM_DIR\/nvm.sh&#8220;<\/p>\n\n\n\n<p><br><code>source ~\/.bashrc<\/code><br>nvm -v<br><code>nvm ls-remote<\/code><br><\/p>\n\n\n\n<p>\u00dcber snap instalieren-> sudo snap install node-red<br>npm install -g &#8211;unsafe -perm node-red<br>sudo apt-get remove nodejs npm<br>sudo apt-get update<br>sudo apt-get upgrade<br>sudo snap install node &#8211;classic &#8211;channel=14<br><code>sudo apt-get install -y nodejs<\/code><br><code>sudo npm update npm -g<\/code><br>npm install -g npm@10.2.5<br>sudo apt-get update<br>sudo apt-get upgrade<\/p>\n\n\n\n<p>&#8212;&#8212;> Installation nicht best\u00e4tigt \/ getestet<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><br><br><\/p>\n","protected":false},"excerpt":{"rendered":"<p>https:\/\/github.com\/nvm-sh\/nvm#installing-and-updating curl -o- https:\/\/raw.githubusercontent.com\/nvm-sh\/nvm\/v0.39.5\/install.sh | bash~\/.bashrc export NVM_DIR=&#8220;$([ -z &#8222;${XDG_CONFIG_HOME-}&#8220; ] &amp;&amp; printf %s &#8222;${HOME}\/.nvm&#8220; || printf %s &#8222;${XDG_CONFIG_HOME}\/nvm&#8220;)&#8220;[ -s &#8222;$NVM_DIR\/nvm.sh&#8220; ] &amp;&amp; . &#8222;$NVM_DIR\/nvm.sh&#8220; wget -qO- https:\/\/raw.githubusercontent.com\/nvm-sh\/nvm\/v0.39.5\/install.sh | bash sudo \/home\/${user}\/.nvm\/version\/node\/${version}\/bin\/npm install nvm install node export NVM_DIR=&#8220;$([ -z &#8222;${XDG_CONFIG_HOME-}&#8220; &hellip; <a href=\"https:\/\/www.stephan-lubahn.de\/?p=868\">Weiterlesen <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-868","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.stephan-lubahn.de\/index.php?rest_route=\/wp\/v2\/posts\/868","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.stephan-lubahn.de\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.stephan-lubahn.de\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.stephan-lubahn.de\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.stephan-lubahn.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=868"}],"version-history":[{"count":19,"href":"https:\/\/www.stephan-lubahn.de\/index.php?rest_route=\/wp\/v2\/posts\/868\/revisions"}],"predecessor-version":[{"id":893,"href":"https:\/\/www.stephan-lubahn.de\/index.php?rest_route=\/wp\/v2\/posts\/868\/revisions\/893"}],"wp:attachment":[{"href":"https:\/\/www.stephan-lubahn.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=868"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.stephan-lubahn.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=868"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.stephan-lubahn.de\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=868"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}