Git Product home page Git Product logo

grpm's Introduction

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.

grpm's People

Stargazers

Jason Mobarak avatar

Watchers

Guillaume Fournier avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.