I installed Sequelize-cli on MacOS with the following command:
1. npm i sequelize mysql2
2. sudo npm i -g sequelize-cli
However, when I use the sequelize command, I get the following error:
bash: sequelize: command not found
I used global when I installed the express-generator and nodemon, but it did not matter.
Why does sequelize only cause problems?