Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jsnjack/grm
An experimental package manager for GitHub Releases
https://github.com/jsnjack/grm
github hacktoberfest package-management package-manager release-automation releases
Last synced: about 2 months ago
JSON representation
An experimental package manager for GitHub Releases
- Host: GitHub
- URL: https://github.com/jsnjack/grm
- Owner: jsnjack
- Created: 2020-03-30T07:49:23.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-07-06T10:08:24.000Z (7 months ago)
- Last Synced: 2024-07-06T11:25:27.627Z (7 months ago)
- Topics: github, hacktoberfest, package-management, package-manager, release-automation, releases
- Language: Go
- Homepage:
- Size: 11.2 MB
- Stars: 16
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
grm
====### What is it?
`grm` is an experimental package manager for GitHub Releases. It is probably only good for installing packages which are distributed as binaries (for example the ones written in Go, Rust). The following popular packages can be installed with `grm`:
- mozilla/geckodriver
- gohugoio/hugo
- go-acme/lego
- zyedidia/micro
- ...`grm` inspects release assets for a binary file and when the file is found, downloads and installs it to `/usr/local/bin/` directory.
### How to use it?
```bash
$ ./grm
A package manager for GitHub releasesUsage:
grm [command]Available Commands:
aliases Print table of known package aliases
help Help about any command
info Show information about a package
install Install a package from GitHub releases
list List installed packages
lock Lock a package
release Create a release in GitHub
remove Remove a package
set Modify settings
settings Print settings
unlock Unlock a package
update Update installed packages
version Print versionFlags:
-h, --help help for grm
--token string GitHub API token
-v, --verbose Enable verbose logging
-y, --yes Confirm allUse "grm [command] --help" for more information about a command.
```#### How to install specific version of hugo?
```grm
grm install gohugoio/hugo==v0.63.0 -f Linux-64
```### How to install it?
> Make sure you have `curl` and `jq` installed (`sudo dnf install curl jq`)
```bash
curl -s https://api.github.com/repos/jsnjack/grm/releases/latest | jq -r .assets[0].browser_download_url | xargs curl -LOs && chmod +x grm && sudo mv grm /usr/local/bin/
```