how to run cypress test

JavaScript
./node_modules/.bin/cypress run   // just cypress run wont worknpm install cypress                //takes about 3-5 minutes for entire process
./node_modules/.bin/cypress open   // just cypress run wont work
Source

Also in JavaScript: