Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I install the sequelize.js binary?

I am referencing the sequelize.js documentation at: http://sequelizejs.com/documentation#migrations-the-binary

After running 'sequelize -V', I receive:

$ sequelize -V
sequelize: command not found

I have searched online and cannot find any references on how to install the binary

like image 518
thaspius Avatar asked Aug 11 '13 02:08

thaspius


2 Answers

The CLI has moved to sequelize-cli:

npm install -g sequelize-cli

https://github.com/sequelize/cli

like image 158
elado Avatar answered Oct 23 '22 21:10

elado


If you install locally, there are links to binaries at ./node_modules/.bin . This path applies to all your local binaries, and you can output this on your CLI with npm bin .

You can also do ls -laF node_modules/.bin to view where the links point to.

See this stack question for more

like image 22
sooks Avatar answered Oct 23 '22 20:10

sooks