Installation¶
Chroma provides packages for Python, JavaScript/TypeScript, Go, and Rust.
Quick Start¶
Get a Chroma server running quickly with the CLI or Docker:
Chroma CLI (Standalone Installer)¶
If you prefer not to install Chroma through Python or JavaScript package managers, use the standalone CLI installer:
The standalone installer installs the chroma CLI binary so you can run:
For the full CLI installation matrix (pip, pipx, uv, npm, pnpm, bun, yarn, and standalone installers), see Running Chroma and the official CLI installation docs.
Python¶
The chromadb package includes everything needed for both local (embedded) usage and connecting to a remote Chroma server.
Here's a minimal working example to confirm your installation.
Backward compatibility
While Chroma strives to be as compatible with older versions as possible, certain releases introduce breaking changes and most importantly database migrations. All database migrations are irreversible and once upgraded to a new version of Chroma, you cannot downgrade to an older version.
Releases
You can find Chroma releases on PyPI here.
Directly from GitHub:
From test PyPI:
Installing a specific version of Chroma is useful when you want to ensure that your code works with a specific version of Chroma. To install a specific version of Chroma, run:
From PyPI:
Directly from GitHub (replace x.y.z with the tag of the version you want to install):
pip install git+https://github.com/chroma-core/[email protected]
It is sometimes useful to install a version of Chroma that has still some unreleased functionality. Like a PR that either fixes a bug or brings in a new functionality you may need. To test such unreleased code it is possible to install directly from a GH PR branch.
JavaScript/TypeScript¶
To install the Chroma JS/TS client package, use the following command depending on your package manager. Here's a minimal working example to confirm your installation.
Embedding Function Packages
All embedding function packages for JS/TS use the @chroma-core/* namespace. For example:
@chroma-core/default-embed- Default embedding function@chroma-core/openai- OpenAI embeddings@chroma-core/cohere- Cohere embeddings
Go¶
Here's a minimal working example to confirm your installation.
Rust¶
Here's a minimal working example to confirm your installation.