Installation
How to install snpm on your system
Get snpm installed and ready to use.
Install with npm (Recommended)
The easiest way to install snpm:
npm install -g snpmThis installs the snpm binary globally on your system.
This installs a pre-built binary, so you don't need Rust installed.
Install from Source
If you prefer to build from source:
Prerequisites:
- Rust toolchain (install from rustup.rs)
- Git
# Clone the repository
git clone https://github.com/binbandit/snpm.git
cd snpm
# Build and install
cargo install --path snpm-cliThis installs the snpm binary to your Cargo bin directory (usually ~/.cargo/bin).
Verify Installation
snpm --versionUpdate snpm
If installed via npm:
npm update -g snpmIf installed from source:
cd snpm
git pull
cargo install --path snpm-cliUninstall
If installed via npm:
npm uninstall -g snpmIf installed from source:
cargo uninstall snpm-cli