Skip to content

Instantly share code, notes, and snippets.

@kngvamxx
Created March 1, 2021 14:26
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 kngvamxx/9abb42341437183efec065ead9287010 to your computer and use it in GitHub Desktop.
Save kngvamxx/9abb42341437183efec065ead9287010 to your computer and use it in GitHub Desktop.
how to install cypress
# !/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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment