summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/book/src/installation.md
blob: b2a28d0be622f1874e15f922d487016710ddd248 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Installation

If you're using `rustup` to install and manage you're Rust toolchains, Clippy is
usually **already installed**. In that case you can skip this chapter and go to
the [Usage] chapter.

> Note: If you used the `minimal` profile when installing a Rust toolchain,
> Clippy is not automatically installed.

## Using Rustup

If Clippy was not installed for a toolchain, it can be installed with

```
$ rustup component add clippy [--toolchain=<name>]
```

## From Source

Take a look at the [Basics] chapter in the Clippy developer guide to find step
by step instructions on how to build and install Clippy from source.

[Basics]: development/basics.md#install-from-source
[Usage]: usage.md