]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/book/src/installation.md
Merge commit '4bdfb0741dbcecd5279a2635c3280726db0604b5' into clippyup
[rust.git] / src / tools / clippy / book / src / installation.md
1 # Installation
2
3 If you're using `rustup` to install and manage you're Rust toolchains, Clippy is
4 usually **already installed**. In that case you can skip this chapter and go to
5 the [Usage] chapter.
6
7 > Note: If you used the `minimal` profile when installing a Rust toolchain,
8 > Clippy is not automatically installed.
9
10 ## Using Rustup
11
12 If Clippy was not installed for a toolchain, it can be installed with
13
14 ```
15 $ rustup component add clippy [--toolchain=<name>]
16 ```
17
18 ## From Source
19
20 Take a look at the [Basics] chapter in the Clippy developer guide to find step
21 by step instructions on how to build and install Clippy from source.
22
23 [Basics]: development/basics.md#install-from-source
24 [Usage]: usage.md