安装
- On Unix, run
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
in your shell. This downloads and runsrustup-init.sh
, which in turn downloads and runs the correct version of therustup-init
executable for your platform. - On Windows, download and run
rustup-init.exe
.