Question: 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.

Answer: 
I used the following steps to install Rust on MacOS:

1. 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.
2. Once successfully done, then add the Path variable to .zshrc using:

	* To open .zhrc use `nano ~/.zshrc`
	* Add `export PATH="$HOME/.cargo/bin:$PATH"` to .zhrc
3. Check if the installation was successfull using `rustc --version`

All the best! :)
-make sure you has install rust successfully
first setup

`brew install rustup`
=====================

`$ source ~/.zshrc ,ro, source /.bashrc (refreshing terminal)`

`brew reinstall rustup-init`
============================

now you can run command line

`rustup-init`
=============

Welcome to Rust!

This will download and install the official compiler for the Rust
programming language, and its package manager, Cargo.

Rustup metadata and toolchains will be installed into the Rustup
home directory, located at:
/Users/location/.cargo

modify PATH variable: yes

1. Proceed with installation (default)
2. Customize installation
3. Cancel installation

Nest
Testing

To check if you have installed rust Succesful on your machine type the following command in your terminal

`rustc`
=======

Once successfully done, then add the Path variable to .zshrc using:
To open .zhrc use

 `$ nano ~/.zshrc` or  `$ open . ~/.zshrc`
==========================================

```
Add export PATH="$HOME/.cargo/bin:$PATH" to .zhrc

```

after that
please run `$ source ~/.zshrc`  ,ro, `$ source /.bashrc`  (refreshing terminal)

To start a new project, navigate to where you want your project to be created then simply run cargo new . In my case I have decided to name my project "todo-cli" so I can run:

`$ cargo new todo-cli`
======================