Zsh Plugin: NVM

Today

Description

Provides autocompletion and automatic loading for Node Version Manager, enabling easy switching between Node.js versions.
GitHub

Essential Commands

Advanced Commands

Configuration Options

# In .zshrc before oh-my-zsh
zstyle ':omz:plugins:nvm' lazy yes 
zstyle ':omz:plugins:nvm' autoload yes 

Usage Examples

# Version management
nvm install 18.17.0   # Install specific version
nvm install --lts     # Install latest LTS
nvm use 16.20.0      # Switch to version
nvm alias default 18.17.0  # Set default
 
# Project-based versions
echo "18.17.0" > .nvmrc    # Create version file 
nvm use                     # Use version from .nvmrc