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.
Did you try to install rustup via https://rustup.rs/
That may work correctly on your computer.