how to install cypress using cmd on windows 10 code example
Example 1: update cypress
npm install --save-dev cypress@4.11.0 //replace the version that you want
//yarn
yarn upgrade cypress@4.11.0
Example 2: 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