Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions docs/app/references/command-line.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,13 @@ This guide assumes you've already read our
installed Cypress as an `npm` module. After installing you'll be able to execute
all of the commands in this document from your **project root**.

:::info

You can alternatively require and run Cypress as a node module using our
[Module API](/app/references/module-api).

:::

## How to run commands

You can run Cypress from your **project root** using a command which
Expand Down Expand Up @@ -58,8 +65,9 @@ pnpm cypress run --record --spec "cypress/e2e/my-spec.cy.js"

:::info

You can alternatively require and run Cypress as a node module using our
[Module API](/app/references/module-api).
**PowerShell**

When `cypress run` [options](#Options) or `cypress open` [options](#Options-1) are specified with multiple values separated by commas, such as for `--config` or `--env` options, and you are using PowerShell on Windows, you may need to surround the key/value pairs with quotes, for example: `--env "host=api.dev.local,port=4222"`.

:::

Expand Down