Tuesday, December 7, 2021

How to install Cypress on windows machine -

1. Download and install node.js

2. Open the cmd and type npm --version to check the npm version and type npm init.

3. After the initialization, Go to your project folder and Type 'npm install cypress --save-dev'

4. Wait for the installation to complete.

5. Cypress will be installed in your project folder (Cypress has now been installed in your ./node_modules directory, with its binary executable accessible from ./node_modules/.bin.)

6. Delete the cypress file from ./node_modules/.bin

7. Verify the cypress by using npx cypress verify.

8. To open the cypress, type cypress open and wait for a few seconds, the cypress application will be opened.


Kindly adhere to the following instructions to utilize the most recent edition:

  1. Acquire and install node.js.
  2. Launch VS code.
  3. Establish a new project.
  4. Activate the terminal and execute the subsequent commands to install the required components:

  • npm init -y
  • npm install cypress
  • npm install -D typescript
  • npm run cypress:open