报错
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