Categorygithub.com/jduepmeier/binary-package-manager
repositorypackage
0.0.0-20241231121039-c3f9663f6b9e
Repository: https://github.com/jduepmeier/binary-package-manager.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# README

binary-package-manager

This is a small package manager that fetches binaries from different sources (github, gitlab, ...)

Install

To install the tool copy the binary from releases to a folder inside your PATH variable. Alternative install it from source:

make

# installs inside $GOPATH/bin
make install

Usage

First init bpm:

bpm init

To add packages create the corresponding yaml files inside ~/.config/bpm/packages. For kickstarting the file use:

bpm add <package> <repo-url>

Currently only github is supported.

See package.example.yaml for all available options.

Install a package with:

bpm install <package>

To update all packages use:

bpm update

Github rate-limits

Github has a rate-limiting in place. To get a higher limit use an access token (https://github.com/settings/tokens). The access token does not need any permissions except a private repo is fetched.

# add to config file (~/.config/bpm/config.yaml)
github:
  username: <github-username>
  token: <created-token>

Release Notes

See CHANGELOG.md.