If you are on the path of taking up Cypress as your tool to automate and you want to set up it in your environment. You have come to the right place!
In this article, I'll show you how and what you need for Cypress to be installed in your developing environment.
Cypress Hardware Specification (Minimum)
Hey! are you worried about the hardware specifications? No worries, as long as you have the below specs you are good to go!
- Processor/speed: i3 Gen 10 & above /2GHz
- RAM: 4GB
- Hard drive space: 100GB
That's all you need to be eligible for Cypress in your environment!
Cypress Supporting Operation System
Now we need to know the Operating Systems this tool wants to partner up with, Below are some of the eligible Operating Systems for cypress:
- macOS 10.9 and above preferably 64bit
- Linux Ubuntu 12.04 and above/Fedora 21/Debian 8 preferably 64bit
- Windows 7 and above
Linux Prerequisite
For Linux run these below commands to get these dependencies installed in your Linux environment beforehand cypress.
Ubuntu/Debian:
apt-get install libgtk2.0-0 libgtk-3-0 libgbm-dev libnotify-dev libgconf-2-4 libnss3 libxss1 libasound2 libxtst6 xauth xvfb
CentOS:
yum install -y xorg-x11-server-Xvfb gtk2-devel gtk3-devel libnotify-devel GConf2 nss libXScrnSaver alsa-lib
Cypress Software Requirement
- Node JS: Have Node.js 12 or 14 or else any higher version than this installed
- Yarn: You can also install cypress using yarn package manager.
- Desktop Application: You can install Cypress as a desktop application for Mac, Ubuntu and Windows.
You can use any of the one option to install Cypress.
Docker
If you want the images with all the dependencies preloaded conveniently you can visit this link
If you have the projects in containers and want to run there, all you need is a cypress in the container with the node.js process.