Skip to content

Commit df67f34

Browse files
Update codeshift-cli.mdx
1 parent 8c66251 commit df67f34

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

website/docs/api/codeshift-cli.mdx

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,15 @@ The cli allows you to run transforms either from the [community folder](https://
2121

2222
We recommend running the CLI with `$ npx` to ensure you always have the latest version.
2323

24-
`$ npx codeshift --packages mylib@1.0.0 /project/src`
24+
`$ npx @codeshift/cli --packages mylib@1.0.0 /project/src`
2525

26-
But it can also be installed normally:
27-
28-
`$ npm install --save-dev @codeshift/cli` or `yarn add -D @codeshift/cli`
29-
30-
Or globally:
26+
But it can also be installed globally:
3127

3228
`$ npm install -g @codeshift/cli` or `yarn global add @codeshift/cli`
3329

3430
and run with:
3531

36-
`$ codeshift`
32+
`$ codeshift` or `$ codeshift-cli`
3733

3834
## Options
3935

0 commit comments

Comments
 (0)