diff --git a/docs/guides/continuous-integration/introduction.mdx b/docs/guides/continuous-integration/introduction.mdx index 67eda87e3f..9a6ff7093c 100644 --- a/docs/guides/continuous-integration/introduction.mdx +++ b/docs/guides/continuous-integration/introduction.mdx @@ -309,22 +309,11 @@ shorter ones, following ### Dependencies -If you are not using one of the above CI providers then make sure your system -has these dependencies installed. +Cypress runs on many CI providers' virtual machine environments out-of-the-box without needing additional dependencies installed. #### Linux -#### Ubuntu/Debian - -```shell -apt-get install libgtk2.0-0 libgtk-3-0 libgbm-dev libnotify-dev libnss3 libxss1 libasound2 libxtst6 xauth xvfb -``` - -#### CentOS - -```shell -yum install -y xorg-x11-server-Xvfb gtk2-devel gtk3-devel libnotify-devel GConf2 nss libXScrnSaver alsa-lib -``` +If you see a message about a missing dependency when you run Cypress in a Linux CI environment, then refer to the [Linux Prerequisites](/guides/getting-started/installing-cypress#Linux-Prerequisites) lists for guidance. ### Caching diff --git a/docs/guides/getting-started/installing-cypress.mdx b/docs/guides/getting-started/installing-cypress.mdx index 7fe6c2c0e1..2083575419 100644 --- a/docs/guides/getting-started/installing-cypress.mdx +++ b/docs/guides/getting-started/installing-cypress.mdx @@ -139,8 +139,8 @@ just need help with troubleshooting, check out our Please read our [Continuous Integration](/guides/continuous-integration/introduction) docs for -help installing Cypress in CI. When running in Linux you'll need to install some -[system dependencies](/guides/continuous-integration/introduction#Dependencies) +help installing Cypress in CI. When running in Linux you may need to install some +[system dependencies](#Linux-Prerequisites) or you can use our [Docker images](/examples/docker) which have everything you need prebuilt. @@ -203,7 +203,9 @@ requirements: ### Linux Prerequisites If you're using Linux, you'll want to have the required dependencies installed -on your system. +on your system. Depending on your system defaults, these dependencies may already be installed. +If not, run the command line for your operating system listed below. +[Cypress Docker images](#Docker), which are Debian-based, already include the necessary dependencies. #### Ubuntu/Debian