How to build and install rust-clippy?

I use Rust in VSCode offline. How to install rust-clippy?

Are you using rustup? If so you can use rustup component add clippy to install it.

There isn't rustup in Rust offline version.

Is the computer not connected to a network at all? Once clippy is installed it doesn't need the network.

Yes, the computer can't connected to network. I must download the clippy and copy it to the computer.