Node.js version management: no subshells, no profile setup, no convoluted API, just simple. n is not supported natively on Windows. There are a variety of ways of specifying the target Node.js version for n commands. Most commands use the latest matching version, and n ls-remote lists multiple matching versions. n downloads a prebuilt Node.js package and installs to a single prefix (e.g. /usr/local). This overwrites the previous version. The bin folder in this location should be in your PATH (e.g. /usr/local/bin). The downloads are kept in a cache folder to be used for reinstalls. The downloads are also available for limited use using n which and n run and n exec. The global npm packages are not changed by the install, with the exception of npm itself which is part of the Node.js install.

Features

  • Execute n on its own to view your downloaded versions, and install the selected version
  • There are a variety of ways of specifying the target Node.js version for n commands
  • There are three commands for working directly with your downloaded versions of Node.js, without reinstalling
  • By default n picks the binaries matching your system architecture
  • The n command downloads and installs to /usr/local by default
  • You can be explicit to get the desired behaviour whatever the environment variable

Project Samples

Project Activity

See All Activity >

Categories

Version Control, Git

License

MIT License

Follow n

n Web Site

Other Useful Business Software
$300 Free Credits for Your Google Cloud Projects Icon
$300 Free Credits for Your Google Cloud Projects

Start building on Google Cloud with $300 in free credits. No commitment, no credit card required until you're ready to scale.

Launch your next project with $300 in free Google Cloud credits—no strings attached. Test, build, and deploy without risk. Use your credits across the entire Google Cloud platform to find what works best for your needs. After your credits are used, continue with always-free tier services. Only pay when you're ready to scale. Sign up in minutes and start exploring.
Start Free Trial
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of n!

Additional Project Details

Operating Systems

Linux, Mac

Programming Language

PowerShell

Related Categories

PowerShell Version Control Software, PowerShell Git Software

Registered

2021-04-08