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

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