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

44次阅读

共计 291 个字符,预计需要花费 1 分钟才能阅读完成。

报错

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

正文完
 0