Help installing shell

I have installed mongodb via homebrew added it to my path variable via export (mac) and checked using echo(mac) but when I run mongo “mongodb+srv://” --username areze I get the error bash: mongo: command not found can anyone help because I really need this database.

Welcome to the community!
Please show the output of echo $PATH command
Can you invoke mogo command from bin directory or by giving full path of mongo.exe

I don’t know how to do the second thing

I don’t see mongo in your path
What command you used to update path
by export method it will not be persistent
You have to update in /etc/paths

Where is your mongodb installed
cd to that dir.Under bin dir you will see mongo executable
Just run mongo --version to test if command working or not