Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

get-node

Package Overview
Dependencies
Maintainers
1
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

get-node

Download Node.js

  • 0.0.1
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Codecov Travis Node Gitter Twitter Medium

Download Node.js.

The binary is downloaded from the Node.js website.

This is cached: if the output directory already has a node executable, no download will be performed.

Works on Linux/Mac/Windows.

Example

# Download Node.js latest release
$ get-node
$ ./node
Welcome to Node.js v12.8.0.
Type ".help" for more information.
> .exit

# Download a specific Node.js release
$ get-node 8
$ ./node
> process.version
'v8.16.0'
> .exit

# Any version range can be used
$ get-node 8.12.0
$ get-node '<7'

# Specify the output directory
$ get-node 12 ~/.cache/node_releases/
$ ~/.cache/node_releases/node --version
v12.8.0

Install

npm install get-node

At the moment this requires node to be globally installed. Which means this is only useful when you are installing a different version of Node.

Usage

get-node [VERSION] [OUTPUT_DIRECTORY]

VERSION can be any version range such as 12, 12.6.0 or <12.

See also

Support

If you found a bug or would like a new feature, don't hesitate to submit an issue on GitHub.

For other questions, feel free to chat with us on Gitter.

Everyone is welcome regardless of personal background. We enforce a Code of conduct in order to promote a positive and inclusive environment.

Contributing

This project was made with ❤️. The simplest way to give back is by starring and sharing it online.

If the documentation is unclear or has a typo, please click on the page's Edit button (pencil icon) and suggest a correction.

If you would like to help us fix a bug or add a new feature, please check our guidelines. Pull requests are welcome!

ehmicky
ehmicky

💻 🎨 🤔 📖

Keywords

FAQs

Package last updated on 08 Aug 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc