Install the Solana Tool Suite | Solana Docs
There are multiple ways to install the Solana tools on your computer depending on your preferred workflow: You can replace v1.7.11 with the release tag matching the software version of your desired release, or use one of the three symbolic channel names: stable, beta, or edge.
https://docs.solana.com/cli/install-solana-cli-tools