Installation
Homebrew (Recommended)
brew install marcus/tap/nightshift
Binary Downloads
Pre-built binaries are available on the GitHub releases page for macOS and Linux (Intel and ARM).
From Source
Requires Go 1.24+:
go install github.com/marcus/nightshift/cmd/nightshift@latest
Or build from the repository:
git clone https://github.com/marcus/nightshift.git
cd nightshift
go build -o nightshift ./cmd/nightshift
sudo mv nightshift /usr/local/bin/
Verify Installation
nightshift --version
nightshift --help
Prerequisites
- Claude Code CLI (
claude) and/or Codex CLI (codex) installed - Authenticated via subscription login or API keys:
# Claude Code
claude
/login
# Codex
codex --login