百科.dev
全部条目AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
N

NodeJs-Raspberry-Pi

> 编程语言
开源

在您的 Raspberry Pi 1、2、3、4、零和零 W 上安装 NodeJs

389 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

在您的 Raspberry Pi 1、2、3、4、零和零 W 上安装 NodeJs

NodeJs-Raspberry-Pi

Latest NodeJS Install:

This is a simple shell script that will install the latest version of NodeJs available to your raspberry pi on every all types of raspberry pis (zero|1|2|3|4) This also happens to work on other ARM6, ARM7, ARM64 and x86_64 linux computers.

I have yet to confirm, but there may be an issue on Jessy and Stretch, if you are running the older pi OS

First, you will need to install the latest version of NodeJs on your pi by going into your Raspberry Pi zero|1|2|3's terminal, and running:

bash
wget -O - https://raw.githubusercontent.com/audstanley/NodeJs-Raspberry-Pi/master/Install-Node.sh | sudo bash;
node -v;

Specific Version of NodeJs:

Once you have run the initial installer, you can install different versions at any time by opening a new terminal and typing:

bash
sudo node-install -v 4.9.1; # if you want to be specific
bash
sudo node-install -v 4;
# then you will get prompted with which 
# specific version of 4 you wish to install
bash
sudo node-install -v 5;
# then you will get prompted with which 
# specific version of 5 you wish to install
bash
sudo node-install -v 6;
# then you will get prompted with which 
# specific version of 6 you wish to install
bash
sudo node-install -v 7;
# then you will get prompted with which 
# specific version of 7 you wish to install
bash
sudo node-install -v 8;
# then you will get prompted with which 
# specific version of 8 you wish to install
bash
sudo node-install -v 9;
# then you will get prompted with which 
# specific version of 9 you wish to install
bash
sudo node-install -v 10;
# then you will get prompted with which 
# specific version of 10 you wish to install
bash
sudo node-install -v 11;
# then you will get prompted with which 
# specific version of 11 you wish to install
bash
sudo node-install -v 12;
# then you will get prompted with which 
# specific version of 12 you wish to install
bash
sudo node-install -v 13;
# then you will get prompted with which 
# specific version of 13 you wish to install
bash
sudo node-install -v 14;
# then you will get prompted with which 
# specific version of 14 you wish to install
bash
sudo node-install -v 15;
# then you will get prompted with which 
# specific version of 15 you wish to install
bash
sudo node-install -v 16;
# then you will get prompted with which 
# specific version of 16 you wish to install
bash
sudo node-install -v 17;
# then you will get prompted with which 
# specific version of 17 you wish to install
bash
sudo node-install -v 18;
# then you will get prompted with which 
# specific version of 18 you wish to install
bash
sudo node-install -v 19;
# then you will get prompted with which 
# specific version of 19 you wish to install
bash
sudo node-install -v 20;
# then you will get prompted with which 
# specific version of 20 you wish to install
bash
sudo node-install -v 21;
# then you will get prompted with which 
# specific version of 21 you wish to install
bash
sudo node-install -v 22;
# then you will get prompted with which 
# specific version of 22 you wish to install
bash
sudo node-install -v 23;
# then you will get prompted with which 
# specific version of 23 you wish to install
bash
sudo node-install -v 24;
# then you will get prompted with which 
# specific version of 24 you wish to install

Please note that this will work for EVERY raspberry pi running buster or greater.

or stop by at my blog: audstanley.com

Always keep NodeJs up to date:

If you want to keep your Raspberry Pi up to date with the Latest Version of Node at all times, edit your /etc/crontab file:

bash
sudo nano /etc/crontab

Add this line to the bottom of your crontab:

cron
0 22 1,7,14,21 * * root node-install -a;

This will update your raspberry pi with the latest version of NodeJs on days 1st, 7st, 14th, and 21st of every month at 10:00pm.

Thank you so much:

Hansie

Casper

Ladvien

Phil

Shane

Dan

Bob

Anon

Jeff

Thank you (bug catchers)

JadeEllis

Kryten0807

fivdi for reporting that there are newer binaries of Node.

Traffic:

Thank you for checking out the project, and using the node-install utility. This github project (as of 2019), reaches about an average of 10,000 people every year.

Development

If you would like to develop for this project, Just install VSCode with Docker as a Dependency (follow this guide), and the VSCode extensions Remote - Containers and Remote - Development then git clone the project, open the project in VSCode, Ctrl Shift P, "Open Folder in Container" then ./build.sh to build the binaries for all the archetectures. You will need WSL2 if you are on windows.

Star History Chart

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Go

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言