Step 0: Create a folder for the cypress project

Let’s start by creating the package.json.

What is the package.json, you ask? Well, let’s create it, and then I’ll explain.

I’ll open a terminal and run npm init -y.

npm init -y

Using the npm command, we’ve created a package.json, which initializes the folder to be ready for npm commands

Next, install cypress:

npm install cypress@3

run Cypress

npx cypress open

--

--