Skip to content

Instantly share code, notes, and snippets.

@afahitech
Last active October 2, 2020 13:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save afahitech/5a3ae1f80915eb325c8ea8a493b8b78d to your computer and use it in GitHub Desktop.
Save afahitech/5a3ae1f80915eb325c8ea8a493b8b78d to your computer and use it in GitHub Desktop.
How to install Cypress on Ubuntu 18.04 LTS
If you need Cypress installation contact with me:
Skype: aataur1
Telegram: @AutoDevOps
WhatsApp: +8801751643484
Email: afahitech@gmail.com
--------------------------------------------------------------
# !/bin/sh
# Install yarn from root previlage
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list
apt update
apt install cmdtest
apt install yarn
yarn --version
yarn init
# Install Nodj 10
curl -sL https://deb.nodesource.com/setup_10.x -o nodesource_setup.sh
bash nodesource_setup.sh
apt install nodejs
nodejs -v
# Install Cypress
yarn add cypress --dev
yarn cache clean
yarn run cypress open
# Enjoy.
#Cypress #CypressInstall #SetupCypress
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment