# Install coursier with Homebrew, Nix, scoop

Pure Scala Artifact Fetching. Version 2.1.24 via Homebrew; verified from local package data.

## 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
- **Package manager page:** <https://formulae.brew.sh/formula/coursier>
- **Version:** 2.1.24
- **Source summary:** Pure Scala Artifact Fetching
- **Homepage:** <https://get-coursier.io/>
- **Repository:** <https://github.com/coursier/coursier>
- **Upstream docs:** <https://get-coursier.io/docs/overview>
- **License:** Apache-2.0
- **Source archive:** <https://github.com/coursier/coursier/releases/download/v2.1.24/coursier.jar>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- coursier (cli)
- coursier (alias)

## Dependencies

- openjdk

## Install behavior

- Post-install hook: not defined
- Bottle: available on all

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 2.1.24
- Local data: ok
- Upstream repository: https://github.com/coursier/coursier
- info: No package-manager update timestamp was available.
- info: No cached GitHub release or tag data was available.
## 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
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** coursier
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## 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


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [openjdk](https://www.automicvault.com/pkg/brew/openjdk/) - Runtime dependency declared by Homebrew.
- [carthage](https://www.automicvault.com/pkg/brew/carthage/) - Shares av.db curated category or tags: cli, dependency-management, dependency-manager, developer-tools.
- [carton](https://www.automicvault.com/pkg/brew/carton/) - Shares av.db curated category or tags: cli, dependency-management, dependency-manager, developer-tools.
- [cask](https://www.automicvault.com/pkg/brew/cask/) - Shares av.db curated category or tags: cli, dependency-management, dependency-manager, developer-tools.
- [cocoapods](https://www.automicvault.com/pkg/brew/cocoapods/) - Shares av.db curated category or tags: cli, dependency-management, dependency-manager, developer-tools.
- [sbt](https://www.automicvault.com/pkg/brew/sbt/) - Shares av.db curated category or tags: cli, dependency-management, developer-tools, scala.
- [sbtenv](https://www.automicvault.com/pkg/brew/sbtenv/) - Shares av.db curated category or tags: cli, developer-tools, scala.
- [sbuild](https://www.automicvault.com/pkg/brew/sbuild/) - Shares av.db curated category or tags: cli, developer-tools, scala.
- [scala-cli](https://www.automicvault.com/pkg/brew/scala-cli/) - Shares av.db curated category or tags: cli, developer-tools, scala.

## Combined YAML source

View the package source record on GitHub. [combined/coursier.yml](https://github.com/automic-vault/db/blob/main/combined/coursier.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
