{"id":18670006,"url":"https://github.com/blahah/installing-node-tools","last_synced_at":"2026-01-24T07:05:42.682Z","repository":{"id":66275962,"uuid":"96755227","full_name":"blahah/installing-node-tools","owner":"blahah","description":"Cross-platform node tool installation instructions to be linked from READMEs/documentation","archived":false,"fork":false,"pushed_at":"2017-07-10T09:01:29.000Z","size":4,"stargazers_count":2,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-27T19:13:31.498Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/blahah.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":"2017-07-10T08:38:43.000Z","updated_at":"2019-09-06T17:00:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"f12d2574-a431-48c9-9fcb-6243cda29bbc","html_url":"https://github.com/blahah/installing-node-tools","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blahah%2Finstalling-node-tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blahah%2Finstalling-node-tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blahah%2Finstalling-node-tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blahah%2Finstalling-node-tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blahah","download_url":"https://codeload.github.com/blahah/installing-node-tools/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239500979,"owners_count":19649368,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-11-07T08:49:29.374Z","updated_at":"2025-11-06T18:30:33.377Z","avatar_url":"https://github.com/blahah.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# installing-node-tools\n\nCross-platform node tool installation instructions to be linked from READMEs/documentation\n\n## Contents\n\n- [Introduction](#introduction)\n- [macOS](#macos)\n- [linux](#linux)\n- [windows](#windows)\n\n## Introduction\n\nYou're here because you need to install a tool that uses nodeJS, and it's not obvious how to do that. These instructions try to make it as painless as possible.\n\nHere are some things to be aware of:\n\n- **don't** use the instructions on the NodeJS website\n- **don't** use whatever package manager you use for your OS generally (e.g.`apt`, `brew`, `chocco`)\n- **don't** use admin privileges or `sudo` when installing node or any node tool\n- **do** use a nodeJS version manager - this lets you keep node up to date, and switch versions easily\n- **do** install everything in userspace - this prevents complex permissions issues and limits security concerns\n\n### Node.js version manager\n\nWhatever operating system you use, you'll need to install Node.js. We recommend doing this using [**nvm**](https://github.com/creationix/nvm#installation) - the **n**ode **v**ersion **m**anager (or for windows, [`nvm-windows`](https://github.com/coreybutler/nvm-windows)).\n\n## macOS\n\n### prerequisites: developer tools\n\nIf you're on macOS/OSX, you'll need to install either:\n\n- XCode, Apple's developer environent, free from the mac App Store\n- [the command-line developer tools](http://osxdaily.com/2014/02/12/install-command-line-tools-mac-os-x/).\n\n### installing `nvm`\n\nOpen a terminal and run this command:\n\n```bash\ncurl -o- https://raw.githubusercontent.com/creationix/nvm/v0.30.1/install.sh | bash\n```\n\nIf it fails because you don't have `curl` installed, try using `wget` instead:\n\n```bash\nwget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.30.1/install.sh | bash\n```\n\nFollow the instructions that appear in the terminal - it will ask you to close the terminal once it's done.\n\n### installing `node`\n\nAfter you've closed and re-opened your terminal, you'll need to tell `nvm` to install the latest version of Node, and set it as default:\n\n```bash\nnvm install 7\nnvm use 7\nnvm alias default 7\n```\n\n### installing a `node` tool:\n\n```bash\nnpm install --global some-node-tool\n```\n\n## linux\n\n### installing `nvm`\n\nOpen a terminal and run this command:\n\n```bash\ncurl -o- https://raw.githubusercontent.com/creationix/nvm/v0.30.1/install.sh | bash\n```\n\nIf it fails because you don't have `curl` installed, try using `wget` instead:\n\n```bash\nwget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.30.1/install.sh | bash\n```\n\nFollow the instructions that appear in the terminal - it will ask you to close the terminal once it's done.\n\n### installing `node`\n\nAfter you've closed and re-opened your terminal, you'll need to tell `nvm` to install the latest version of Node, and set it as default:\n\n```bash\nnvm install 7\nnvm use 7\nnvm alias default 7\n```\n\n### installing a `node` tool:\n\n```bash\nnpm install --global some-node-tool\n```\n\n## windows\n\n### installing `nvm-windows`\n\nGo to the [downloads page](https://github.com/coreybutler/nvm-windows/releases) and download `nvm-setup.zip` for the latest version.\n\nUnzip the downloaded file and run the included installer.\n\n### installing `node`\n\nOpen your command-line program (we recommend [`cmder`](http://cmder.net/) if you don't have one yet), then run:\n\n```\nnvm install 7\nnvm use 7\n```\n\n### installing a `node` tool:\n\n```bash\nnpm install --global some-node-tool\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblahah%2Finstalling-node-tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblahah%2Finstalling-node-tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblahah%2Finstalling-node-tools/lists"}