Created
March 1, 2021 14:26
-
-
Save kngvamxx/9abb42341437183efec065ead9287010 to your computer and use it in GitHub Desktop.
how to install cypress
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# !/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