Releases: Watchdog0x/nva
v1.2.0
Release Notes - Node Version Admin (NVA) Version 1.2.0
We're excited to announce the release of NVA version 1.2.0. This update introduces new features, important bug fixes, and a significant name change to enhance the functionality and branding of our tool.
Important Announcement: Name Change
- Changed: Our project has been renamed from "Node Version Manager Light (NVML)" to "Node Version Admin (NVA)".
- Impact: Users should be aware that all references, documentation, and commands now use the new name "NVA" instead of "NVML".
New Features
-
Install Script
- Added: A new install script for easy deployment of NVA.
- Impact: Simplifies the process of setting up NVA on new systems, ensuring a consistent installation experience.
-
Uninstall Script
- Added: A dedicated uninstall script for clean removal of NVA.
- Impact: Provides a straightforward method to completely remove NVA from the system when no longer needed, preventing leftover files or configurations.
Bug Fixes
-
Bash Completion Path Correction
- Fixed: The bash completion script is now correctly saved to
/usr/share/bash-completion/completions/
instead of/etc/bash_completion.d/
. - Impact: Ensures proper integration with the system-wide bash completion mechanism, providing a more consistent and reliable command-line experience.
- Fixed: The bash completion script is now correctly saved to
-
Improved Version Setting Behavior
- Fixed: When using the
-i
/--install
option together with-s
/--set
, NVA will now automatically recommend setting the newly installed version. - Impact: Streamlines the process of installing and setting a new Node.js version, reducing the need for multiple commands and potential user error.
- Fixed: When using the
Installation
To install NVA 1.2.0, use one of the following commands:
curl -so- https://raw.githubusercontent.com/Watchdog0x/nva/main/install.sh | sudo bash
or
wget -qO- https://raw.githubusercontent.com/Watchdog0x/nva/main/install.sh | sudo bash
Uninstallation
To remove NVA from your system, use one of the following commands:
curl -so- https://raw.githubusercontent.com/Watchdog0x/nva/main/uninstall.sh | sudo bash
or
wget -qO- https://raw.githubusercontent.com/Watchdog0x/nva/main/uninstall.sh | sudo bash
or if already installed:
sudo bash /opt/nva/uninstall.sh
Note to Existing Users
If you're upgrading from a previous version (NVML), please ensure you uninstall the old version before installing NVA. Your Node.js versions and configurations should remain intact, but it's always a good practice to backup your important data before performing any system-wide changes.
v1.1.0
Release Notes - Version 1.1.0
I am excited to announce the release of version 1.1.0 of the nvml
script! This release includes several improvements and bug fixes for enhanced usability.
Bug Fixes
- Fixed symbolic link resolution for accurate determination of the script's directory.
Features
- Install a specific Node.js version using the
-i
or--install
option. - List available Node.js versions on your system with the
-l
or--list
option. - Set the active Node.js version with the
-s
or--set
option. - Update all installed Node.js versions to the latest with the
-p
or--patch
option.- Subcommand:
clean
- Remove all old Node.js versions.
- Subcommand:
- Remove an installed Node.js version with the
-r
or--remove
option. - Display help information with the
-h
or--help
option. - Check the version of
nvml
with the-v
or--version
option.
Improvements
- Improved error messages for better clarity.
- Enhanced permissions check for the node versions directory.
I appreciate your feedback and contributions! If you encounter any issues or have suggestions for further improvements, please let me know.
Thank you for using nvml
!
v1.0.0
Release Notes - Version 1.0.0
I am excited to announce the release of version 1.0.0 of the nvml
script!
Features
-
Install Specific Node.js Version: You can now use the
-i
or--install
option to install a specific version of Node.js.Example:
nvml -i 18.18.1
-
Set Active Node.js Version: The
-s
or--set
option allows you to set the active Node.js version.Example:
nvml -s 18.18.1
-
Remove Installed Node.js Version: The
-r
or--remove
option lets you remove an installed Node.js version.Example:
nvml -s 18.18.0
-
**List Available Versions: ** Use the
-l
or--list
option to list all available Node.js versions on your system.Example:
nvml -l
-
Patch for Updates: Introducing the
-p
or--patch
option that checks for updates and installs the latest versions of Node.js.Example:
nvml -p
For cleaning up old versions:
nvml -p clean
-
Install, Set, and List in One Go: You can combine installation, setting, and listing of Node.js versions in a single command. For example:
nvml -i 18.18.2 -s 18.18.2 -l