Skip to content

Commit

Permalink
document printing individual component version (#3339)
Browse files Browse the repository at this point in the history
Co-authored-by: Jennifer Shehane <[email protected]>
  • Loading branch information
bahmutov and jennifer-shehane authored Nov 23, 2020
1 parent 58156d0 commit 06767aa
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion source/guides/guides/command-line.md
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,7 @@ cypress verify

## `cypress version`

Prints the installed Cypress binary version, the Cypress package version, the version of Electron used to build Cypress, and the bundled Node version.
Prints the installed Cypress binary version, the Cypress package version, the version of Electron used to build Cypress, and the bundled Node version.

In most cases the binary and the package versions will be the same, but they could be different if you have installed a different version of the package and for some reason failed to install the matching binary version.

Expand All @@ -566,6 +566,19 @@ Electron version: 10.1.5
Bundled Node version: 12.14.1
```

You can print each individual component's version number also.

```shell
cypress version --component package
6.0.0
cypress version --component binary
6.0.0
cypress version --component electron
10.1.5
cypress version --component node
12.14.1
```

## `cypress cache [command]`

Commands for managing the global Cypress cache. The Cypress cache applies to all installs of Cypress across your machine, global or not.
Expand Down

0 comments on commit 06767aa

Please sign in to comment.