Command Line Interface
The WindKeep Command Line Interface allows you to manage secrets, organizations, and projects directly from your terminal. Fast, secure, and designed for developers who prefer working in the command line.
Installation
Shell Script (Linux / macOS)
curl -sSL https://windkeep.vercel.app/install/install.sh | bash
PowerShell Script (Windows)
irm https://windkeep.vercel.app/install/install.ps1 | iex
Manual Download
- Linux (x64) - For Ubuntu, Debian, Fedora, and other Linux distributions
- macOS (Intel) - For Macs with Intel processors
- macOS (Apple Silicon) - For Macs with M1, M2, M3, or M4 chips
- Windows (x64) - For Windows 10/11
Installation Steps
Linux / macOS:
- Download the binary for your system
- Open terminal and navigate to downloads:
cd ~/Downloads - Make it executable:
chmod +x windkeep-* - Move to PATH:
sudo mv windkeep-* /usr/local/bin/windkeep - Verify:
windkeep --version
Windows:
- Download the
.exefile - Move it to a directory in your PATH
- Open PowerShell and verify:
windkeep --version
Authentication
First, sign in to WindKeep and retrieve your API token:
- Navigate to your preferences page
- Copy your API token
- Run the login command:
# Pass token as argument
windkeep login YOUR_API_TOKEN
# Or use interactive mode (token input will be hidden)
windkeep login
This validates your token and saves your configuration in
~/.windkeep/config.yaml.
Logout
Remove stored authentication credentials by running:
windkeep logout
This deletes your local configuration file. You'll need to run windkeep login again to use the CLI.
Utility Commands
windkeep whoami
Display information about your currently authenticated user and active context.
Example:
windkeep whoami
windkeep upgrade
Upgrade the WindKeep CLI to the latest version.
Example:
windkeep upgrade
This downloads and installs the latest version for your operating system.
Advanced: Use --config flag to specify a custom configuration file location (default: ~/.windkeep/config.yaml).
Next Steps
Now that you're set up, explore the documentation:
- Organizations - Create and manage organizations
- Projects - Create and manage projects
- Secrets Management - Create secrets and use
windkeep run - Pull & Push - Synchronize secrets with local files
- Guides & Troubleshooting - Common workflows and troubleshooting