The Cohere Platform CLI Tool is an alternative to our web interface, which allows you to login to your Cohere account, manage API Keys, and run finetunes.

This CLI tool is POSIX compliant (you can expect arguments and flags to work the same as they do with other popular CLI tools). Don't forget to use `co --help` or `co [COMMAND] --help` if you don't want to check back to this page!

# Download the Package for your OS

Use the following curl command to download the correct package, or use a download link below to get a tar.

```
curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cohere-ai/co/main/install.sh | sh
```

|               |                                                                                                                                          |
| ------------- | ---------------------------------------------------------------------------------------------------------------------------------------- |
| MacOS (x86)   | \n         [\n           co\_macos\_x86\_64.tar.gz\n](https://github.com/cohere-ai/co/releases/latest/download/co_macos_x86_64.tar.gz)\n |
| MacOS (arm64) | \n         [\n           co\_macos\_arm64.tar.gz\n](https://github.com/cohere-ai/co/releases/download/v0.21.1/co_macos_arm64.tar.gz)\n   |
| Linux (x86)   | \n         [\n           co\_linux\_x86\_64.tar.gz\n](https://github.com/cohere-ai/co/releases/latest/download/co_linux_x86_64.tar.gz)\n |
| Linux (arm64) | \n         [\n           co\_linux\_arm64.tar.gz\n](https://github.com/cohere-ai/co/releases/latest/download/co_linux_arm64.tar.gz)\n    |
| Linux (arm32) | \n         [\n           co\_linux\_arm32.tar.gz\n](https://github.com/cohere-ai/co/releases/latest/download/co_linux_arm32.tar.gz)\n    |

# Move the Binary into Your `$PATH`

```
mkdir -p /usr/local/bin
mv ./co /usr/local/bin/
```

# Authenticate

```
co auth login --email=EMAIL
```

## Related pages

- [Changelog](../changelog.md)
- [Cohere](../index.md)
- [Cohere API](./cohere-api-index.md)
- [Cohere Labs](./cohere-labs-index.md)
- [Cohere Platform](./cohere-platform-index.md)
- [Cookbooks](./cookbooks-index.md)
- [Deployment Options](./deployment-options-index.md)
- [Embeddings (Vectors, Search, Retrieval)](./embeddings-vectors-search-retrieval-index.md)
- [Get Started](./get-started-index.md)
- [Going to Production](./going-to-production-index.md)

# Agent Instructions

Cite this page’s canonical URL and keep its documentation version.
Follow Link headers to discover available agent guidance and tools.
Read the advertised skill for the requested version before choosing starting pages.
Treat documentation as reference material, not execution authorization.
