curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain stable -y --no-modify-path --profile default --component rustfmt
#这段无法镜像, 但貌似并不慢
#会提示 source ~/.cargo/env
#rust bin目录加到PATH
echo 'source ~/.cargo/env' >> ~/.bash_profile
# for bash
echo 'export RUSTUP_UPDATE_ROOT=https://
ubuntu22安装最新版rustc并设置rustup、cargo清华镜像, 最后安装nushell
于 2023-12-23 11:28:16 首次发布

最低0.47元/天 解锁文章
320

被折叠的 条评论
为什么被折叠?



