Installing RustUp on MacOSX and Fish Shell
You might have tried to install RustUp with Fish and run into this error after running this script like me
Installing RustUp on MacOSX and Fish Shell
You might have tried to install RustUp with Fish and run into this error after running this script like me
curl — proto ‘=https’ — tlsv1.2 -sSf https://sh.rustup.rs | sh```

This is because you might not have a .bash_profile if you’re like me and use fish. Instead, you’ll need to press 2 to customize the installation option. When answer yes to all the defaults except the one to Modify PATH variables? (y/n)
You’ll wanna answer no for that one

Your installation should go off fine but now you’ll need to add rustup to your path manually. Luckily with fish it’s easy, no editor necessary. Note, I got the $HOME/.cargo/bin part from the output of the script.
set -Ua fish_user_paths $HOME/.cargo/bin
Nice, rest your shell and you can now run rustup
Feel free to give this article a clap if you want more content like this.
Peace,
Sterling
메타데이터
- post_id
- a6102353ee18
- slug
- installing-rustup-on-macosx-and-fish-shell-a6102353ee18
- url
- https://medium.com/@sterlingcobb/installing-rustup-on-macosx-and-fish-shell-a6102353ee18
- canonical_url
- https://medium.com/@sterlingcobb/installing-rustup-on-macosx-and-fish-shell-a6102353ee18
- author_url
- https://medium.com/@sterlingcobb
- status
- ok
- fetched_at
- 2026-07-28 13:28:24