cypress-documentation
                                
                                 cypress-documentation copied to clipboard
                                
                                    cypress-documentation copied to clipboard
                            
                            
                            
                        Add Cypress uninstall instructions
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