# coursier を Homebrew, Nix, scoop でインストール

coursier のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

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

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install coursier
```

  証拠: local Homebrew formula metadata

### Linux

- Nix (92%):

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

  証拠: 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
```

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

## パッケージ情報

- **パッケージキー:** brew:coursier
- **パッケージマネージャ:** Homebrew
- **バージョン:** 2.1.24
- **ソース概要:** Pure Scala Artifact Fetching
- **ホームページ:** <https://get-coursier.io/>
- **リポジトリ:** <https://github.com/coursier/coursier>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- coursier (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 2.1.24
## プロジェクトの歴史と使われ方

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

### プロジェクトの歴史

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.

### 採用の歴史

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.

### 使われ方

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.

### パッケージ好きにとっての重要性

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.

### タイムライン

- 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

### ソース

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


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- 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
## 他のパッケージマネージャ記録

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


## ソース

- 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
