The CLI's primary distribution is via Homebrew. We recommend you install via Homebrew, even on Linux.
brew install CosineAI/tap/cos
cos --versionWe recommend installation via Homebrew.
If you prefer not using Homebrew on Linux, you can install via:
curl -fsSL https://cosine.sh/install | bashFor the CLI to function correctly, we require the following tools:
- fzf
- ripgrep
sudo apt update
sudo apt install ripgrep fzfSupport for Windows is currently untested. If you would like to be part of our Windows beta, please reach out to support@cosine.sh
You need to have a Cosine account and a GitHub project imported to your team to fully utilise the CLI.
Sign in to Cosine: https://cosine.sh/login
Then, within your terminal:
cos login