install cypress using yarn with specific version code example
Example 1: update cypress
npm install --save-dev [email protected] //replace the version that you want
//yarn
yarn upgrade [email protected]
Example 2: how to run cypress test
./node_modules/.bin/cypress run // just cypress run wont work