command to run cypress npm package locally code example
Example: install cypress
npm install cypress or npm install cypress --save-dev // Make sure that you have already run npm init
./node_modules/.bin/cypress open //to open cypress window, will take 30 secs