{"id":22744151,"url":"https://github.com/mehradi-github/ref-nodejs","last_synced_at":"2026-04-25T22:33:01.527Z","repository":{"id":162684915,"uuid":"637179049","full_name":"mehradi-github/ref-nodejs","owner":"mehradi-github","description":"Installing Node.js using Linux Command Line","archived":false,"fork":false,"pushed_at":"2023-05-06T21:06:40.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-06T00:04:02.203Z","etag":null,"topics":["linux","nodejs"],"latest_commit_sha":null,"homepage":"","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/mehradi-github.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,"zenodo":null}},"created_at":"2023-05-06T18:48:48.000Z","updated_at":"2023-05-06T21:07:51.000Z","dependencies_parsed_at":"2023-07-16T03:16:47.989Z","dependency_job_id":null,"html_url":"https://github.com/mehradi-github/ref-nodejs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mehradi-github/ref-nodejs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mehradi-github%2Fref-nodejs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mehradi-github%2Fref-nodejs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mehradi-github%2Fref-nodejs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mehradi-github%2Fref-nodejs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mehradi-github","download_url":"https://codeload.github.com/mehradi-github/ref-nodejs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mehradi-github%2Fref-nodejs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32279655,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-25T18:29:39.964Z","status":"ssl_error","status_checked_at":"2026-04-25T18:29:32.149Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["linux","nodejs"],"created_at":"2024-12-11T01:40:11.461Z","updated_at":"2026-04-25T22:33:01.523Z","avatar_url":"https://github.com/mehradi-github.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Installing Node.js\nInstalling Node.js using Linux Command Line.\n\n- [Installing Node.js](#installing-nodejs)\n  - [Installing Node.js using Linux Binaries (x64)](#installing-nodejs-using-linux-binaries-x64)\n  - [Installing Node.js from source code](#installing-nodejs-from-source-code)\n\n\n\n## Installing Node.js using Linux Binaries (x64)\n\nDownload the NodeJS [Linux Binaries (x64)] : https://nodejs.org/en/download/\n\n```sh\nsudo mkdir /usr/local/lib/node\nsudo tar -xJvf node-v18.16.0-linux-x64.tar.xz\nsudo mv ./node-v18.16.0-linux-x64 /usr/local/lib/nodejs\n```\nSet the environment variable ~/.profile\n\n```sh\n#export NODEJS_HOME=/usr/local/lib/nodejs\n#export PATH=$NODEJS_HOME/bin:$PATH\n\nif [ -d \"/usr/local/lib/nodejs/bin\" ] ; then\n    PATH=\"/usr/local/lib/nodejs/bin:$PATH\"\nfi\n\n```\n\nRefresh profile:\n\n```sh\n# source ~/.profile\n. ~/.profile\n\n# Check version\nnode -v\nnpm version\n```\n\n## Installing Node.js from source code\n\nInstall the necessary build dependencies, C++ compiler, and build toolchain for your system.\n\n[Install Python](https://github.com/mehradi-github/ref-python).\n\n\n```sh\nwget https://github.com/nodejs/node/archive/refs/tags/v18.16.0.tar.gz\ntar -xf v18.16.0.tar.gz\ncd v18.16.0\n# Launch ./configure\n./configure --enable-optimizations\n\n# Launch make\nmake -j 8\n\n#Test your compiled version \nmake test\n\n#Install it \nsudo make install\n\n\n# Check version\nnode -v\nnpm version\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmehradi-github%2Fref-nodejs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmehradi-github%2Fref-nodejs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmehradi-github%2Fref-nodejs/lists"}