Skip to content

Installation

Terminal window
curl -fsSL https://mine.rwolfe.io/install | bash

This downloads the latest release binary for your OS/arch and installs it to ~/.local/bin/.

Requires Go 1.25+.

Terminal window
go install github.com/rnwolfe/mine@latest

Or clone and build:

Terminal window
git clone https://github.com/rnwolfe/mine.git
cd mine
make build
make install
Terminal window
mine version

After installation, run the guided setup:

Terminal window
mine init

This will:

  1. Ask for your name (auto-detected from git config)
  2. Create config at ~/.config/mine/config.toml
  3. Create database at ~/.local/share/mine/mine.db
  4. Detect your shell for completions

Generate tab completions for your shell:

Terminal window
mine shell completions zsh # for zsh
mine shell completions bash # for bash
mine shell completions fish # for fish

Follow the printed instructions to source them.

Terminal window
rm -f "$(command -v mine)"
rm -rf ~/.config/mine
rm -rf ~/.local/share/mine
rm -rf ~/.cache/mine