跳转至

安装

1 安装

rust 会安装到当前用户下,因此哪个用户需要就用哪个用户执行。 - curl https://sh.rustup.rs -sSf | sh 安装后会生成.cargo .rustup目录

[shw@localhost ~]$ ll -A
total 20
drwxr-xr-x. 3 shw shw  28 Nov  3 19:57 .cargo
drwxr-xr-x. 6 shw shw  94 Nov  3 19:58 .rustup

2 卸载

  • rustup self uninstall