how do I check the version of Cypress I have installed via command line

Viewed 21252

I want to check the version I have of Cypress that is installed via the command line.

how do I check that I have tried Cypress verify and cypress version

4 Answers

You have to use command ./node_modules/.bin/cypress version to get the cypress version.

In the project folder type:

npx cypress --version

In the terminal type cypress -v or cypress --version

Use Git-Bash/Cmd, type "npx cypress --version". It will give Cypress package version, Cypress binary version, Electron and Bundled Node version also. Typing "./node_modules/.bin/cypress version" in cmd prompt will also give the same details.

Related