# Install coursier with Homebrew, Nix, scoop

Pure Scala Artifact Fetching. Version 2.1.24 via Homebrew; verified from local package data. Also installable with nix: nix profile install nixpkgs#coursier.

## Install

```sh
sudo av install brew:coursier
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install coursier
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#coursier
```

  Evidence: nixpkgs package indexes: pkgs/by-name/co/coursier/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

### Windows

- Scoop (92%):

```sh
scoop install main/coursier
```

  Evidence: Scoop official bucket manifest trees: bucket/coursier.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## Package facts

- **Package key:** brew:coursier
- **Package manager:** Homebrew
- **Version:** 2.1.24
- **Source summary:** Pure Scala Artifact Fetching
- **Homepage:** <https://get-coursier.io/>
- **Repository:** <https://github.com/coursier/coursier>
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- coursier (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 2.1.24
## Project history and usage

Coursier is a Scala application and artifact manager used to install Scala applications, set up Scala development environments, and download and cache JVM artifacts.

### Project history

The public repository was created in 2015. The official overview describes Coursier as a Maven/Ivy-style dependency resolver and fetcher rewritten from scratch in Scala, designed to be fast and embeddable.

The README notes that large parts of Coursier development since September 2018 were funded by the Scala Center.

### Adoption history

Coursier became infrastructure in the Scala ecosystem rather than only an end-user CLI. The official users page lists Scastie, Scalafiddle, Ammonite, Mill, sbt, Pants, Scalafmt, Scalafix, Scala Jupyter kernels, and Scala language-server tooling as users or integrations.

The Coursier docs also record a major packaging milestone: sbt 1.3.x shipped with Coursier support enabled by default, reducing the need for the separate `sbt-coursier` plugin in most sbt 1.3.x builds.

### How it is used

As the `cs` command-line tool, Coursier installs Scala applications, launches applications, creates standalone launchers, resolves dependencies, fetches artifacts, manages Java runtimes, and sets up common Scala tools.

For private repositories, credentials can be supplied inline, by environment or Java property, or via `credentials.properties` in platform-specific config locations.

### Why package nerds care

Coursier matters to package and build-tool maintainers because it sits at the boundary between package managers, Maven/Ivy metadata, launcher generation, dependency caches, and Scala build reproducibility. It is both a CLI package and a library consumed by other tools.

### Timeline

- 2015: Public GitHub repository created.
- 2018: Scala Center funding noted for large parts of development from September onward.
- 2019: sbt 1.3.x line documented as shipping with Coursier support enabled by default.
- 2026: v2.1.25 milestone releases continue.

### Related projects

- sbt
- sbt-coursier
- Mill
- Ammonite
- Scala CLI
- Scalafmt
- Scalafix

### Sources

- <https://get-coursier.io/docs/overview>
- <https://get-coursier.io/docs/overview-in-the-wild>
- <https://get-coursier.io/docs/sbt-coursier>
- <https://get-coursier.io/docs/cli-installation>
- <https://get-coursier.io/docs/other-credentials>
- <https://github.com/coursier/coursier>
- <https://api.github.com/repos/coursier/coursier>
- <https://github.com/coursier/coursier/releases>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Credential files

- Linux: ~/.config/coursier/credentials.properties
- macOS: ~/Library/Application Support/Coursier/credentials.properties
## Other Package-Manager Records

- Nix - coursier: normalized package name match | nixpkgs package indexes: pkgs/by-name/co/coursier/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Scoop - main/coursier: normalized package name match | Scoop official bucket manifest trees: bucket/coursier.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/coursier.yml](https://github.com/mxcl/pkgdb/blob/main/combined/coursier.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
