[READ-ONLY] Mirror of https://github.com/Schniz/gpkg. 🌎 A global Node binary manager written in Rust github.com/Schniz/gpkg
binary global hacktoberfest manager node package rust
0

Configure Feed

Select the types of activity you want to include in your feed.

Rust 100.0%
46 17 0

Clone this repository

https://tangled.org/schlez.in/gpkg https://tangled.org/did:plc:4tc3rdkmn3adxzve7sjhoois
git@tangled.org:schlez.in/gpkg git@tangled.org:did:plc:4tc3rdkmn3adxzve7sjhoois

For self-hosted knots, clone URLs may differ based on your setup.



README.md

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#

  1. Download the latest binary into your $PATH
  2. Add ~/.gpkg/bin to your $PATH environment variable
  3. Smile, you're done! 😺

Usage#

  • gpkg install <package>: install a package and its binaries
  • gpkg uninstall <package>: uninstall a package and its binaries
  • gpkg list: list all installed binaries, their packages and node versions
  • gpkg completions <shell>: generate shell completions for gpkg

💡 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.