A subcommand for cargo that can be used similar to cargo check.
cargo
cargo check
cargo install cargo-clippy
cargo clippy
cargo-clippy clones git repo of clippy to your $CARGO_HOME (or ~/.cargo if none set) and builds it when you first use cargo clippy.
$CARGO_HOME
~/.cargo