[macOS Catalina] fish-shell でRustupコマンドをインストールする方法
[macOS Catalina] fish-shell で rustup コマンドをインストールする方法
以下のコマンドを実行する
curl https://sh.rustup.rs -sSf | sh
この場合、以下のようなエラーが出る場合がある。
error: could not amend shell profile: '/Users/{ユーザー名}/.profile'
error: caused by: could not write rcfile file: '/Users/{ユーザー名}/.profile'
error: caused by: Permission denied (os error 13)
fish-shell からインストールすると設定ファイルの上書きに失敗することがあるらしい・・・
権限系のエラーなので、 sudo
をつければよいかと考えられるが、それでも上手く行かない。
そこで、 --no-modify-path
オプションを付けると解決できる。
curl https://sh.rustup.rs -sSf | sh -s -- --no-modify-path
Author And Source
この問題について([macOS Catalina] fish-shell でRustupコマンドをインストールする方法), 我々は、より多くの情報をここで見つけました https://qiita.com/Kazuki-Komori/items/0497799295ec044494c6著者帰属:元の著者の情報は、元のURLに含まれています。著作権は原作者に属する。
Content is automatically searched and collected through network algorithms . If there is a violation . Please contact us . We will adjust (correct author information ,or delete content ) as soon as possible .