Installation

Multiple ways to install AFK on your system.

Quick Install (Recommended)

The easiest way to install AFK:

curl -fsSL https://thakerinnovations.com/afk/install.sh | sh

This downloads the correct binary for your OS and installs it to ~/.local/bin/afk

Manual Download

Download the binary for your platform:

Linux x86_64 (most common)
Download
macOS Apple Silicon (coming soon)
Coming soon
macOS Intel (coming soon)
Coming soon

After downloading, make it executable and move to your PATH:

chmod +x afk-linux-x86_64

mv afk-linux-x86_64 ~/.local/bin/afk

Build from Source

Requires Rust 1.70+ installed:

git clone https://github.com/thakerinnovations/afk

cd afk

cargo build --release

cp target/release/afk ~/.local/bin/

Verify Installation

Check that AFK is installed correctly:

$ afk --version

afk 0.1.0

PATH not configured?

If afk command isn't found, add ~/.local/bin to your PATH:

# For bash

echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc

source ~/.bashrc

 

# For zsh

echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.zshrc

source ~/.zshrc