关于rust:Rust-Mac-安装报错

报错

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

# output
error: could not amend shell profile: '/Users/xxxx/.bashrc': could not write rcfile file: '/Users/xxxx/.bashrc': Permission denied (os error 13)

解决办法:

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | bash -s -- -y --no-modify-path

评论

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

这个站点使用 Akismet 来减少垃圾评论。了解你的评论数据如何被处理