Skip to content
/ gpkg Public
forked from Schniz/gpkg

๐ŸŒŽ A global Node binary manager written in Rust

Notifications You must be signed in to change notification settings

thekorn/gpkg

ย 
ย 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

53 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

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.

About

๐ŸŒŽ A global Node binary manager written in Rust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 95.2%
  • Nix 4.8%