node-nvm-update
v1.0.5
Published
Automatically update Node.js to the latest LTS version using nvm
Readme
🔄 node-nvm-update
CLI tool to automatically update Node.js to the latest LTS version using NVM (Node Version Manager)
✨ Features
- Automatically installs the latest Node.js LTS version
- Sets LTS version as the default
- Updates npm to the latest version
- Works seamlessly with NVM
- Provides clear activation instructions
- Designed specifically for Linux systems
📦 Installation
Using npx (recommended):
npx node-nvm-update❓ Prerequisites
🎛️ Command Options
npx node-nvm-update [options]
Options:
-v, --version Output the current version
-h, --help Display help message
Examples:
# Show version
npx node-nvm-update --version
# Show help
npx node-nvm-update --help📤 Output Example
🔍 Checking for latest LTS version...
⏳ Installing latest LTS version...
Downloading https://nodejs.org/dist/v22.18.0/node-v22.18.0-linux-x64.tar.xz...
######################################################################## 100.0%
Computing checksum with sha256sum
Checksums matched!
✅ Node.js LTS updated to: v22.18.0
💡 Default version set to latest LTS
🔄 Please restart your terminal for the changes to take full effect
or run: nvm use v22.18.0📜 License
This project is licensed under the GPL3.0 License - see the LICENSE file for details.
