Install & Authenticate The CLI
The Cosine CLI brings our AI coding agent to your terminal. It writes/refactors/tests code, runs and executes shell commands on your behalf to build and iterate on your tasks.
Install the CLI
The CLI's primary distribution is via Homebrew. We recommend you install via Homebrew, even on Linux.
brew installation
brew install CosineAI/tap/cos
cos --versionLinux
If you prefer not using Homebrew on Linux, you can install via:
curl -fsSL https://cosine.sh/install | bashDependencies
For the CLI to function correctly, we require the following tools:
- fzf 
- ripgrep 
sudo apt update
sudo apt install ripgrep fzfWindows
Support for Windows is currently untested. If you would like to be part of our Windows beta, please reach out to [email protected]
Authenticate the CLI
Sign in to Cosine: https://cosine.sh/login
Then, within your terminal:
cos loginLast updated
Was this helpful?
