Installation
Install nem using the provided installation script:
curl -fsSL https://raw.githubusercontent.com/vi-dev/nem/main/install.sh | shBy default, nem is installed to ~/.local/bin. Add this directory to your
PATH if it isn’t already:
export PATH="$HOME/.local/bin:$PATH"You can customize the installation directory and version with the NEM_INSTALL_DIR
and NEM_VERSION environment variables:
# Install to a custom directory
curl -fsSL https://raw.githubusercontent.com/vi-dev/nem/main/install.sh | NEM_INSTALL_DIR=/usr/local/bin sh
# Install a specific version
curl -fsSL https://raw.githubusercontent.com/vi-dev/nem/main/install.sh | NEM_VERSION=v1.2.3 shConfirm the installation:
nem versionUnstable builds
To install the latest build from main instead of a release:
curl -fsSL https://raw.githubusercontent.com/vi-dev/nem/main/install.sh | NEM_VERSION=unstable shUnstable builds change on every merge and are not a released version, though they are checksum-verified like releases. Use a stable release unless you need a change that has not shipped yet.