cypress-documentation icon indicating copy to clipboard operation
cypress-documentation copied to clipboard

Add Cypress uninstall instructions

Open MikeMcC399 opened this issue 1 year ago • 0 comments

Subject

Guides

Description

What would you like?

Add uninstall instructions for Cypress.

Uninstall of the Cypress npm package itself is according to the package manager used to install:

  • npm uninstall cypress
  • yarn remove cypress
  • pnpm remove cypress

Full removal requires also deletion of Cypress cached binary and app data.

Why is this needed?

There are no instructions about how to uninstall Cypress.

Cypress stores additional binary and data in system-dependent locations:

In addition to the cypress npm package, installing Cypress also installs a Cypress binary version into a binary cache location.

  • macOS: ~/Library/Caches/Cypress
  • Linux: ~/.cache/Cypress
  • Windows: $LOCALAPPDATA/Cypress/Cache (POSIX-syntax) / %LOCALAPPDATA%\Cypress\Cache (Windows-syntax)

When Cypress is run, it saves App Data

  • macOS: ~/Library/Application Support/Cypress ?
  • Linux: ~/.config/Cypress
  • Windows: $APPDATA/Cypress (POSIX-syntax) / %APPDATA%\Cypress (Windows-syntax)

Other

  • Related to https://github.com/cypress-io/cypress/issues/30384

MikeMcC399 avatar Oct 10 '24 11:10 MikeMcC399