Quickstart
Use this guide when you want the fastest path from zero to a working CLI session, ready to start building with Cosine agentically.
1. Install the CLI
Section titled “1. Install the CLI”Choose one install method for your platform.
macOS or Linux
Section titled “macOS or Linux”brew install CosineAI/tap/coscos --versionLinux alternative
Section titled “Linux alternative”curl -fsSL https://cosine.sh/install | bashcos --versionWindows
Section titled “Windows”winget install Cosine.CLIcos --versionIf you need direct download instructions or dependency notes, see Install & Authenticate.
2. Sign in
Section titled “2. Sign in”cos loginThis opens your browser and connects the CLI to your Cosine account.
3. Open your repository
Section titled “3. Open your repository”Change into the project directory you want to work in:
cd /path/to/projectIf you want Cosine to create repo-local config files, run:
cos init4. Start the CLI
Section titled “4. Start the CLI”cos startThis opens the interactive terminal user interface (TUI) in your current repository.
5. Try your first task
Section titled “5. Try your first task”Inside the CLI, try a concrete prompt such as:
Explain the architecture of this repositoryFind the authentication flow and summarize itAdd a test for the date formatting utility
You can also run a one-shot task from the shell:
cos start --prompt "Explain the main entrypoint of this repository"