Gpkg
š A global Node binary manager written in Rust
Install / Use
/learn @Schniz/GpkgREADME
gpkg
š A consistent global binary manager for Node.js packages, built in Rust
š Lock the correct Node.js version for binaries š Works with fnm and nvm and any other Node.js version manager ⨠Single file, easy installation
Installation
- Download the latest binary into your
$PATH - Add
~/.gpkg/binto your$PATHenvironment variable - Smile, you're done! šŗ
Usage
gpkg install <package>: install a package and its binariesgpkg uninstall <package>: uninstall a package and its binariesgpkg list: list all installed binaries, their packages and node versionsgpkg completions <shell>: generate shell completions forgpkg
š” The idea
Install a binary from npm, while "statically linking" it to a specific Node version. So, if you installed qnm using Node 12 ā you'll consistently call Node 12 when using it, even if you changed your Node version to 13, using fnm.
