Bench command Error: No such command "migrate"

~/frappe-bench$ bench migrate

Usage: bench [OPTIONS] COMMAND [ARGS]…
Try “bench --help” for help.

Error: No such command “migrate”.


It seems that frappe has not be installed properly.

Please tell the result of "bench --help " is it showing framework commands also…?

If its not showing framework commands such as bench migrate or bench build.
Try this:

cd ~/frappe-bench
rm -rf env
bench setup env
./env/bin/pip install -U setuptools
./env/bin/pip install -e apps/frappe

1 Like

not working

What activity were you performing…!!!
If you got the above error while doing the setup then probably setup is not done properly.
Please delete the frappe- bench and once again install the frappe.