2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Rustのインストールがどうにもうまくいかない。

Last updated at Posted at 2020-09-08

rustを入れようとしたけど、エラーが出る

macユーザでrustのインストールでエラーが出る。
rustのインストールの時にコマンド上で、

error: could not amend shell profile: '/Users/jin237/.bash_profile'
error: caused by: could not write rcfile file: '/Users/jin237/.bash_profile'
error: caused by: Permission denied (os error 13)

と出てしまう。。。

入力コマンドが
デフォルトで

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

または

curl https://sh.rustup.rs -sSf | sh

を入れてるところを、
下のように変えるとインストールできる。

$ curl https://sh.rustup.rs -sSf | bash -s -- -y --no-modify-path

$ rustup default stable

中身の説明は省略。

2
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?