Forrest logo
back to the npm tool

cypress:install

Install Cypress (e2e testing tool)
$ npm install cypress --save-dev
try on your machine

This command installs Cypress as a development dependency for a Node.js project using the npm package manager. The "--save-dev" flag indicates that the package will be saved to the "devDependencies" section of the "package.json" file instead of the "dependencies" section, which is typically used for packages required to run the application in production. This means that Cypress will not be included in the production build of the application, but will be available for use during the development process.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the npm tool