diff --git a/README.md b/README.md index f255575c..f8da7aaf 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ https://github.com/wxt-dev/wxt/assets/10101283/07359e53-f491-43b6-8e8f-fae94aec8 Bootstrap a new project: ```sh -pnpx wxt@latest init +pnpm dlx wxt@latest init ``` Or see the [installation guide](https://wxt.dev/guide/installation.html) to get started with WXT. diff --git a/docs/guide/installation.md b/docs/guide/installation.md index 016efa80..a6a1bbfa 100644 --- a/docs/guide/installation.md +++ b/docs/guide/installation.md @@ -7,7 +7,7 @@ Bootstrap a new project, start from scratch, or [migrate an existing project](/g :::code-group ```sh [pnpm] -pnpx wxt@latest init +pnpm dlx wxt@latest init ``` ```sh [npm] @@ -102,7 +102,7 @@ Finally, add scripts to your `package.json`: ## Migrate an Existing Project -Before starting the migration, it is recommended to run `pnpx wxt@latest init` to see what a basic project looks like. Once you have an understanding of how WXT projects are structured, you're ready to convert the project, using the initialized project as a reference. +Before starting the migration, it is recommended to run `pnpm dlx wxt@latest init` to see what a basic project looks like. Once you have an understanding of how WXT projects are structured, you're ready to convert the project, using the initialized project as a reference. Migrating a project to WXT comes down to a few steps: diff --git a/docs/guide/migrate-to-wxt.md b/docs/guide/migrate-to-wxt.md index 64cd8f6a..817a4e48 100644 --- a/docs/guide/migrate-to-wxt.md +++ b/docs/guide/migrate-to-wxt.md @@ -12,7 +12,7 @@ Always start by generating a new vanilla project and merging it into your projec ```sh cd path/to/your/project -pnpx wxt@latest init example-wxt --template vanilla +pnpm dlx wxt@latest init example-wxt --template vanilla ``` In general, you'll need to: