<commit_before>---
title: Overview
hide_title: true
---

# CLI

The CLI of coursier allows to
- [list the transitive dependencies](cli-resolve.md) and
- [fetch the artifacts](cli-fetch.md) of one or more dependencies,
- [run applications from dependencies](cli-launch.md), and
- [generate convenient launchers to run them](cli-bootstrap.md)
among others.

See below for its [installation](#native-launcher), [its basic usage](#usage),
and click on the links above or on the left for more details about each of
its commands.

## Native launcher

> The commands below install the native launcher as `cs`, which can be
substituted to `coursier` in the various examples on this website.

### Linux

On Linux, download and run the coursier launcher with
```bash
$ curl -Lo cs https://git.io/coursier-cli-linux &&
    chmod +x cs &&
    ./cs --help
```

### macOS

Download and run the coursier launcher with
```bash
$ curl -Lo cs https://git.io/coursier-cli-macos &&
    chmod +x cs &&
    xattr -d com.apple.quarantine cs &&
    ./cs --help
```

Note the `xattr` command to circumvent notarization on macOS Catalina.

Alternatively, the native launcher can be installed via [homebrew](https://brew.sh) with
```bash
$ brew install coursier/formulas/coursier<commit_msg>Tweak macOS notarization workaround<commit_after>---
title: Overview
hide_title: true
---

# CLI

The CLI of coursier allows to
- [list the transitive dependencies](cli-resolve.md) and
- [fetch the artifacts](cli-fetch.md) of one or more dependencies,
- [run applications from dependencies](cli-launch.md), and
- [generate convenient launchers to run them](cli-bootstrap.md)
among others.

See below for its [installation](#native-launcher), [its basic usage](#usage),
and click on the links above or on the left for more details about each of
its commands.

## Native launcher

> The commands below install the native launcher as `cs`, which can be
substituted to `coursier` in the various examples on this website.

### Linux

On Linux, download and run the coursier launcher with
```bash
$ curl -Lo cs https://git.io/coursier-cli-linux &&
    chmod +x cs &&
    ./cs --help
```

### macOS

Download and run the coursier launcher with
```bash
$ curl -Lo cs https://git.io/coursier-cli-macos &&
    chmod +x cs &&
    (xattr -d com.apple.quarantine cs || true) &&
    ./cs --help
```

Note the `xattr` command to circumvent notarization on macOS Catalina.

Alternatively, the native launcher can be installed via [homebrew](https://brew.sh) with
```bash
$ brew install coursier/formulas/coursier
{'fraction_non_alphanumeric': 0.1140625, 'fraction_numerical': 0.0, 'mean_word_length': 3.925, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7523472', 'n_tokens_mistral': 807, 'n_tokens_neox': 771, 'n_words': 311}