Installation
One command to install. Works on Linux and macOS.
curl -fsSL https://getafk.dev/install.sh | sh
Auto-detects your OS and architecture. Installs to ~/.local/bin/afk
Verify it works
$ afk --version
afk 0.1.0
Next: Start streaming
afk stream claude This shows a QR code. Scan it with the mobile app to connect.
Learn more about streaming →Other installation methods
Manual download
Linux x86_64 (most common) Linux ARM64 (Raspberry Pi, etc.) macOS Apple Silicon (M1/M2/M3) macOS Intel
After downloading: chmod +x afk-* && mv afk-* ~/.local/bin/afk
Command not found? (PATH setup)
Add ~/.local/bin to your PATH:
# bash
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc && source ~/.bashrc
# zsh
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.zshrc && source ~/.zshrc