Socket
Book a DemoInstallSign in
Socket

n

Package Overview
Dependencies
Maintainers
2
Versions
120
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

n

Interactively Manage All Your Node Versions

10.2.0
latest
Source
npmnpm
Version published
Weekly downloads
0
Maintainers
2
Weekly downloads
 
Created

What is n?

The 'n' npm package is a Node.js version manager that allows you to easily switch between different versions of Node.js. It simplifies the process of installing, managing, and using multiple Node.js versions on a single system.

What are n's main functionalities?

Install a specific version of Node.js

This command installs Node.js version 14.17.0. You can specify any version number to install that particular version.

n 14.17.0

Switch to the latest stable version of Node.js

This command switches your Node.js version to the latest stable release. It's useful for ensuring you are using the most recent stable version.

n stable

List installed Node.js versions

This command lists all the Node.js versions that are currently installed on your system. It helps you see which versions are available for use.

n ls

Remove a specific version of Node.js

This command removes the specified version of Node.js from your system. It's useful for cleaning up versions you no longer need.

n rm 14.17.0

Use a specific version of Node.js

This command temporarily uses the specified version of Node.js for the current session. It's useful for testing or running scripts with a specific Node.js version without changing the global version.

n use 14.17.0

Other packages similar to n

Keywords

nvm

FAQs

Package last updated on 21 May 2025

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.