Skip to content

Commit 106150b

Browse files
authored
Update README.md
1 parent cab9ede commit 106150b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

spectral/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ extends: '@rhoas/spectral-ruleset'
1515
Run the Spectral CLI:
1616
1717
```shell
18-
npx @stoplight/spectral lint ./path/to/openapi.yaml
18+
npm install -g @stoplight/[email protected]
19+
spectral lint ./path/to/openapi.yaml
1920
```
2021

2122
## Rules

0 commit comments

Comments
 (0)