1、安装

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

 

2、设置环境变量

vim /etc/profile
export PATH=$PATH:$HOME/.cargo/bin
source /etc/profile

 

3、查看版本

 rustc --version

 

4、升级版本

 rustup update

 

相关文章:

  • 2022-12-23
  • 2021-07-19
  • 2021-10-26
  • 2022-12-23
  • 2021-11-29
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-02-25
  • 2021-06-04
  • 2021-08-10
  • 2021-12-27
  • 2022-12-23
  • 2022-12-23
  • 2021-04-12
相关资源
相似解决方案