Mongo command not found


i had installed version 5.0 and also i want to run the mongod but it’s showing this error i had included the path also.

sudo export PATH=$PATH:/usr/local/Cellar/mongodb-community@5.0/5.0.10/bin
this path i have uploaded in bash profile and i have tried to open the executable file from that path but the same error occurs. please help regards with this.