Skip to content

install.sh

Mark Goodyear edited this page Feb 23, 2023 · 4 revisions

This script installs a binary from GitHub releases in the format of [package-name]-[package-version]-[os]-[architexture]. For example, bbdocker 1.0.0 for MacOS Silicon would be bbdocker-1.0.0-macos-arm64.

Usage

To run this script, use this command:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/bigbite/cli-tools/main/install.sh)" -s \
  -r [repo-name] \
  -p [package-name] \
  -v [version]

Options

-r Required. This is the repository name, e.g. bbdocker.

-p Optional. If the package name is different to the name of the repo, specify it here.

-v Optional. Specify a custom version. If not specified, it will fetch the latest version.


Clone this wiki locally