Skip to content

Step 1 of 6 · about 25 min

Set up a project

This is the heart of the portfolio. Cypress runs on JavaScript, which makes it the shortest distance between what you already know and an automation role. First, a project for it to live in.

Make a project folder, move into it, and create a package.json.

Terminal
cd ~/Desktopmkdir first-greencd first-greennpm init -y

Why

npm init -y creates a package.json, the file that lists your project's tools and settings. The -y says yes to every default so you are not answering questions you have no opinion about yet.