{"id":15172760,"url":"https://github.com/rdjarbeng/install-nodejs-on-raspberry-pi","last_synced_at":"2026-01-26T02:02:04.234Z","repository":{"id":203582440,"uuid":"709938409","full_name":"RDjarbeng/Install-NodeJs-on-Raspberry-Pi","owner":"RDjarbeng","description":"How to install NodeJs on the Raspberry Pi - tested on Raspberry Pi 4B","archived":false,"fork":false,"pushed_at":"2025-12-08T11:00:12.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-19T21:52:36.805Z","etag":null,"topics":["internet-of-things","nodejs","raspberry-pi","raspberry-pi-4"],"latest_commit_sha":null,"homepage":"https://rdjarbeng.github.io/RDjarbeng/2024/07/26/Installing_NodeJs_16.html","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RDjarbeng.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-10-25T17:35:54.000Z","updated_at":"2025-12-08T11:00:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"253c7195-6956-4132-acc0-705c11807d94","html_url":"https://github.com/RDjarbeng/Install-NodeJs-on-Raspberry-Pi","commit_stats":{"total_commits":4,"total_committers":1,"mean_commits":4.0,"dds":0.0,"last_synced_commit":"f5d71657debc5bf0fbfff58a4f7bcfca7fd5a968"},"previous_names":["rdjarbeng/install-nodejs-on-raspberry-pi"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/RDjarbeng/Install-NodeJs-on-Raspberry-Pi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RDjarbeng%2FInstall-NodeJs-on-Raspberry-Pi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RDjarbeng%2FInstall-NodeJs-on-Raspberry-Pi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RDjarbeng%2FInstall-NodeJs-on-Raspberry-Pi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RDjarbeng%2FInstall-NodeJs-on-Raspberry-Pi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RDjarbeng","download_url":"https://codeload.github.com/RDjarbeng/Install-NodeJs-on-Raspberry-Pi/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RDjarbeng%2FInstall-NodeJs-on-Raspberry-Pi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28764410,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-26T00:37:26.264Z","status":"online","status_checked_at":"2026-01-26T02:00:08.215Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["internet-of-things","nodejs","raspberry-pi","raspberry-pi-4"],"created_at":"2024-09-27T10:04:15.618Z","updated_at":"2026-01-26T02:02:04.218Z","avatar_url":"https://github.com/RDjarbeng.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Install-NodeJs-on-Raspberry-Pi\n\u003e For the more recent way of installing nodejs on the raspberry pi 4 see this link: [Installing and removing nodejs for linux based systems for raspberry pi 4B](https://rdjarbeng.com/Installing_NodeJs_16/)\n\n\u003e This method is the old way of installling it. Leaving it here because it still works\n\nHow to install NodeJs on the Raspberry Pi - tested on Raspberry Pi 4B using the terminal\n\nSteps:\nAssuming you have a Raspberry Pi already setup. If you need help setting up find resources [here](https://www.raspberrypi.com/documentation/computers/getting-started.html)\n1. Turn on the raspberry Pi. \u003cbr\u003e _Optional: If you are not using a monitor you can ssh into the Raspberry Pi and run the commands from there._\n2. Open a terminal window\n3. Run these commands to download node version 18.18.0 (LTS) from the terminal on the Raspberry Pi. You need to copy and paste these into the terminal or use a bash script.\n\n### Commands\n```\nwget https://nodejs.org/dist/v18.18.0/node-v18.18.0-linux-armv7l.tar.xz\n\ntar -xvf node-v18.18.0-linux-armv7l.tar.xz\ncd node-v4.4.2-linux-armv7l\nsudo cp -R * /usr/local/\n```\n### Check installation\n4. To check if the NodeJs installation worked run this:\n```\nnode –-version\n```\n\nThis should print out the current NodeJs version; The commands given installed version 18.18.0. For installing packages **npm** should come installed with your version of NodeJs if you installed a recent version of NodeJs.\n\n## Installing different Node versions\n_Optional_\nIf you wish to change the node version to install, you can change the link in the command. Here we used version 18.18.0: `https://nodejs.org/dist/v18.18.0/node-v18.18.0-linux-armv7l.tar.xz`\n\nbut you can use any link from the [NodeJs download page](https://nodejs.org/en/download) . Use the ARM7 linux binaries link if you need to install a different version on the Raspberry pi 4B.\n\n![image](https://github.com/RDjarbeng/Install-NodeJs-on-Raspberry-Pi/assets/57795443/e01ff866-71f4-40ca-9767-88435c5b03e8)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frdjarbeng%2Finstall-nodejs-on-raspberry-pi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frdjarbeng%2Finstall-nodejs-on-raspberry-pi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frdjarbeng%2Finstall-nodejs-on-raspberry-pi/lists"}