diff --git a/docs/src/user-guide/getting-started.md b/docs/src/user-guide/getting-started.md index 0004f40522b8..0af266906e2a 100644 --- a/docs/src/user-guide/getting-started.md +++ b/docs/src/user-guide/getting-started.md @@ -24,6 +24,10 @@ You can install and configure ESLint using this command: ```shell npm init @eslint/config + +# or + +yarn dlx @eslint/create-config ``` **Note:** `npm init @eslint/config` assumes you have a `package.json` file already. If you don't, make sure to run `npm init` or `yarn init` beforehand.