Skip to content

Commit bd9da4c

Browse files
committed
reorder run commands based on likelihood of average usage
1 parent 4dee86a commit bd9da4c

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

docs/guides/guides/command-line.mdx

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,26 +35,28 @@ command's documentation.
3535
To run a command, you'll need to prefix each command in order to properly locate
3636
the cypress executable.
3737

38+
(requires npm@5.2.0 or greater)
39+
3840
```
39-
$(npm bin)/cypress run
41+
npx cypress run
4042
```
4143

42-
...or...
44+
...or by using Yarn...
4345

4446
```
45-
./node_modules/.bin/cypress run
47+
yarn cypress run
4648
```
4749

48-
...or... (requires npm@5.2.0 or greater)
50+
...or...
4951

5052
```
51-
npx cypress run
53+
$(npm bin)/cypress run
5254
```
5355

54-
...or by using Yarn...
56+
...or...
5557

5658
```
57-
yarn cypress run
59+
./node_modules/.bin/cypress run
5860
```
5961

6062
You may find it easier to add the cypress command to the `scripts` object in

0 commit comments

Comments
 (0)