Secure & Simple API Key Management
AK is a cross-platform C++17 command-line tool for managing API keys securely with a local, encrypted vault.
Why AK?
Everything you need for secure and efficient key management.
Cross-Platform
Runs natively on Linux, macOS, and Windows for a consistent experience everywhere.
Secure Storage
Encrypts your API keys in a local vault, keeping your credentials safe from prying eyes.
Service Integration
Built-in support for popular services like OpenAI, GitHub, AWS, and more.
Shell Completions
Boost your productivity with shell completions for Bash, Zsh, and Fish.
Quick Start
Get up and running in minutes.
GitHub Pages APT Repository (Recommended)
# Automated installer (recommended):
curl -fsSL https://raw.githubusercontent.com/apertacodex/ak/main/install-ak.sh | bash
# Or manual repository setup:
curl -fsSL https://apertacodex.github.io/ak/setup-repository.sh | bash
sudo apt update && sudo apt install ak
macOS Homebrew Installation
# Add the AK Homebrew tap:
brew tap apertacodex/ak https://github.com/apertacodex/ak.git
# Install AK with all components (CLI + GUI):
brew install ak
# Verify installation:
ak --version
# Set up shell integration (enables ak_load functions):
ak install-shell
# Load environment variables into current shell:
ak load default
Alternative: Direct Package Download
Quick Installation:
# Download and install (7z method)
curl -L -o AK-4.1.6.7z https://apertacodex.github.io/ak/ak-macos-repo/packages/AK-4.1.6.7z
7z x AK-4.1.6.7z && cd AK-4.1.6 && ./Install\ AK.sh
Version: 4.1.6 โข Architecture: Universal (Intel + Apple Silicon)
Cross-platform packages built locally with Linux tools.
Requirements: macOS 12.0 (Monterey) or later.
Homebrew includes: CLI tool (ak), GUI application (ak-gui), and shell completions for bash, zsh, and fish.
DMG includes: Complete AK application bundle with both CLI and GUI components.
Ubuntu Launchpad PPA
# Add the Launchpad PPA:
sudo add-apt-repository ppa:apertacodex/ak
sudo apt update && sudo apt install ak
# For multiple Ubuntu distributions (Noble, Jammy, Focal):
# The PPA automatically builds for all supported Ubuntu versions
Direct Package Download
# Latest version (3.1.9):
wget https://apertacodex.github.io/ak/ak-apt-repo/pool/main/ak_4.10.1_amd64.deb
sudo dpkg -i ak_4.10.1_amd64.deb
Build from Source
git clone https://github.com/ApertaCodex/ak.git
cd ak && ./build.sh
Powerful & Intuitive
Watch AK in action with our interactive terminal demo.
Supported Platforms
Built and tested to run on your favorite OS.