Skip to content
/ grpm Public

CLI tool to install single binary releases directly from Github

Notifications You must be signed in to change notification settings

giomf/grpm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Github Release Package Manager (GRPM)

GRPM is a CLI tool to install single binary releases directly from Github.

Help

$ grpm help
Usage: grpm [COMMAND]

Commands:
  install    Installs a package
  uninstall  Uninstalls a package
  list       Lists all installed packages
  help       Print this message or the help of the given subcommand(s)

Options:
  -h, --help     Print help information
  -V, --version  Print version information

Install

$ grpm install zellij-org/zellij
 Package:      zellij 
 Version:      v0.34.4 
 Description:  A terminal workspace with batteries included 

 # | Name                                        | Size (MB) | Downloads 
---+---------------------------------------------+-----------+-----------
 0 | zellij-aarch64-apple-darwin.sha256sum       |      0.00 |         1 
 1 | zellij-aarch64-apple-darwin.tar.gz          |      5.64 |       163 
 2 | zellij-aarch64-unknown-linux-musl.sha256sum |      0.00 |         7 
 3 | zellij-aarch64-unknown-linux-musl.tar.gz    |      5.81 |       110 
 4 | zellij-x86_64-apple-darwin.sha256sum        |      0.00 |         3 
 5 | zellij-x86_64-apple-darwin.tar.gz           |      5.97 |       336 
 6 | zellij-x86_64-unknown-linux-musl.sha256sum  |      0.00 |        12 
 7 | zellij-x86_64-unknown-linux-musl.tar.gz     |      6.38 |      1754 

Choose an asset to download: 7
Downloading zellij-x86_64-unknown-linux-musl.tar.gz...
Decompressing zellij-x86_64-unknown-linux-musl.tar.gz...
Reading zellij-x86_64-unknown-linux-musl.tar.gz...
Installing zellij to /home/giom/.local/bin
Done!

List

$ grpm list
 Package | Version | Path 
---------+---------+-----------------------
 zellij  | v0.34.4 | /home/giom/.local/bin 

Uninstall

$ grpm uninstall zellij

Config

GRPM uses $XDG_CONFIG_HOME/grpm and as fallback ~/.config/grpm as configuration folder.
A configuration named config.toml must be located in this folder.

token = "YOUR_TOKEN" # Your Github access token - Read only is sufficient
install_path = "~/.local/bin" # Default installation path

Package Database

GRPM tracks the installed packages in a database.
The database is located at $XDG_DATA_HOME/grpm/. If not set ~/.local/share/grpm is used.

About

CLI tool to install single binary releases directly from Github

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages