Skip to content

ChrisdeWolf/node-nvm-switcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

node-nvm-switcher

node-nvm-switcher is a simple shell script designed to ease the process of switching between different Node.js versions globally on your system. It leverages the Node Version Manager (nvm) and Node Package Manager (npm) to automatically install the specified Node version and associated NPM version globally.

Prerequisites

  • Node Version Manager (nvm)
  • Node Package Manager (npm)

Installation

  1. Clone the repo: git clone https://github.com/ChrisdeWolf/node-nvm-switcher.git
  2. Make the script executable (if necessary): chmod +x node-nvm-switcher.sh
  3. Add to PATH, env vars, or use as-is

Usage

Specify the desired version to switch to with -v or --version:

    ./node-nvm-switcher.sh -v <version>

example:

    ./node-nvm-switcher.sh -v 20.17.0

About

Shell script to easily switch between node/npm versions globally.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages