CLI Installation
Here’s all the different ways you can download and install the CLI binary
Go Install
The simplest way to install the Pockets CLI if you have Go installed is to use the go install
command:
go install github.com/matfire/pockets/cli@latest
This will download and compile the latest version of the CLI binary and install it in your $GOPATH/bin
directory.
Build from Source
If you want to build from source, you can clone the repository and use the provided Makefile:
# Clone the repositorygit clone https://github.com/matfire/pockets.gitcd pockets
# Build the CLI binarymake build/cli
The binary will be created in the root directory of the project.
Github Releases
You can download pre-built binaries from the GitHub releases page. Choose the appropriate binary for your operating system and architecture.
After downloading:
- Extract the archive if necessary
- Move the binary to a location in your system PATH (optional)
- Make the binary executable (Unix-based systems only):
Terminal window chmod +x ./pocketsctl
Homebrew
If you’re on macOS or Linux, you can install the Pockets CLI using Homebrew:
brew install matfire/matfire/pocketsctl