Skip to content

CLI Installation

The Hype Doc CLI (hype) lets you log wins and manage achievements from your terminal.

Terminal window
brew install myhypedoc/tap/hype
# To upgrade later
brew upgrade myhypedoc/tap/hype

hype is a single native binary with no runtime to install. Upgrading from the npm package (@hypedoc/cli)? Run npm uninstall -g @hypedoc/cli and install with one of the options above. The config file format is unchanged; if hype asks you to sign in, run hype auth login.

Shell completions for bash, zsh, and fish are installed automatically by Homebrew. Otherwise, run hype completions <shell>.

  1. Browser login (recommended)

    Terminal window
    hype auth login

    Opens your browser for OAuth authentication. The token is saved automatically.

  2. Or set a token directly (for CI/scripts)

    Terminal window
    hype auth token <your-api-token>
  3. Verify

    Terminal window
    hype auth status
Terminal window
# Log a win (interactive)
hype log
# Log a win directly
hype log "Shipped the new API endpoint" --space Work --tags impact,backend
# List recent wins
hype wins --last 7d
# List wins in a space
hype wins --space Work --limit 10
# See your spaces
hype spaces
# Create a space
hype spaces create Leadership --emoji 👑
# See your tags
hype tags
# Rename a tag
hype tags rename backend infrastructure
CommandDescription
hype logLog a new win
hype winsList, show, edit, and delete wins
hype spacesList, create, rename, and delete spaces
hype tagsList, rename, and delete tags
hype authManage authentication
hype completions <shell>Print a shell completion script

The CLI stores its config at ~/.hypedoc/config.json. See Configuration for environment variables and advanced setup.