<commit_before>---
title: Installation
---

## Native launcher

### Linux

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

### macOS

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

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
$ cs
```

### Windows

On Windows, use
```bash
> bitsadmin /transfer cs-cli https://git.io/coursier-cli-windows-exe "%cd%\cs.exe"
> .\cs --help
```

## JAR-based launcher

In case you run into any issue with the [native launcher](#native-launcher),<commit_msg>Clarify Windows Download instructions (#1762)<commit_after>---
title: Installation
---

## Native launcher

### Linux

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

### macOS

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

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
$ cs
```

### Windows

On Windows, use
```bash
> bitsadmin /transfer cs-cli https://git.io/coursier-cli-windows-exe "%cd%\cs.exe"
> .\cs --help
```
Note that this must be run with `cmd.exe`, not `PowerShell`.

## JAR-based launcher

In case you run into any issue with the [native launcher](#native-launcher),
{'fraction_non_alphanumeric': 0.1504, 'fraction_numerical': 0.0021333333333333334, 'mean_word_length': 3.542372881355932, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 8, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 5, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7631508', 'n_tokens_mistral': 670, 'n_tokens_neox': 628, 'n_words': 205}