1、从官网链接下载对应版本32/64即可(rust-init.exe),点击安装可能首先会碰到的一个error就是未有C++环境,根据官网上的链接下载C++工具即可。
2、下载安装C++工具之后,再次运行默认选择1即可,但可能会遇到如下报错,可能是因为电脑安装了电脑管家/360管家等杀毒软件导致的,关掉即可正常安装。
default host triple: x86_64-pc-windows-msvc
default toolchain: stable
profile: default
modify PATH variable: yes
1) Proceed with installation (default) //默认
2) Customize installation //自定义
3) Cancel installation //取消
>1
error: permission denied