Skip to content

vineelsai26/VMN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VMN

VMN is a simple tool for managing Node.js versions. It's written in Go and is available for Linux and macOS.

Linux

Manual Install

wget https://github.com/vineelsai26/VMN/releases/latest/download/vmn-linux-amd64.tar.gz -O vmn-linux-amd64.tar.gz
tar -xvf vmn-linux-amd64.tar.gz
sudo mv vmn /usr/local/bin

Arch Linux Install

Add the following to /etc/pacman.conf:

[vineelsai-arch-repo]
Server = https://repo.vineelsai.com/linux/arch/$arch

Then run:

sudo pacman-key --lsign-key 4431E64723B4ADDE
sudo pacman -Syu vmn

Debian/Ubuntu Install

curl -fsSL https://repo.vineelsai.com/linux/debian/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/vineelsai.gpg

echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/vineelsai.gpg] https://repo.vineelsai.com/linux/debian stable main" | sudo tee /etc/apt/sources.list.d/vineelsai.list > /dev/null

sudo apt update

sudo apt install vmn

macOS

wget https://github.com/vineelsai26/VMN/releases/latest/download/vmn-macos-arm64.tar.gz -O vmn-macos-arm64.tar.gz
tar -xvf vmn-macos-arm64.tar.gz
sudo mv vmn /usr/local/bin

Usage Node.js

Install a Node.js version

vmn install 20

Use a Node.js version

vmn use 20

List installed Node.js versions

vmn list installed

Remove a Node.js version

vmn uninstall 20