Next we need to visit the official website − https://nodejs.org/en/download/ and download as per system requirements.
For a windows system, we just need to proceed the steps one by one. It shall be stored in the Program files. We need to set the path of the node home in the environment variables.
The next step is to generate the package.json file in our project. This is achieved by running the command npm init. from the command prompt. We need to provide some metadata information and proceed with the json file generation.
Now to install the Cypress in our system we should use the command npm install cypress --save-dev. This command shall install the tool in our local machine as a development dependency for our project.
The project dependencies shall be stored in the package.json file. For the next time Cypress installation we should only use the command npm install.