I installed rustup with brew command but still says that rustup command is not found. I am not sure if I am missing any installation step. Any help would be appreciated.
I used the following steps to install Rust on MacOS:
Install Rust using -
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
Make sure that you customize the installation and answer No when it asks to modify the Path.
Once successfully done, then add the Path variable to .zshrc using:
nano ~/.zshrc
export PATH="$HOME/.cargo/bin:$PATH"
to .zhrcCheck if the installation was successfull using rustc --version
All the best! :)