diff --git a/docs/cli.md b/docs/cli.md
index 9ed555f11..5eeb306d0 100644
--- a/docs/cli.md
+++ b/docs/cli.md
@@ -11,7 +11,7 @@ prettier [options] [file/dir/glob ...]
:::note
-To run your locally installed version of Prettier, prefix the command with `npx`, `yarn exec`, `pnpm exec`, or `bunx`, i.e. `npx prettier --help`, `yarn exec prettier --help`, `pnpm exec prettier --help`, or `bunx prettier --help`.
+To run your locally installed version of Prettier, prefix the command with `npx`, `yarn exec`, `pnpm exec`, `bunx`, or `deno x`, i.e. `npx prettier --help`, `yarn exec prettier --help`, `pnpm exec prettier --help`, `bunx prettier --help`, or `deno x prettier --help`.
:::
diff --git a/docs/install.md b/docs/install.md
index b368c3599..efd0499e8 100644
--- a/docs/install.md
+++ b/docs/install.md
@@ -36,6 +36,13 @@ pnpm add --save-dev --save-exact prettier@%PRETTIER_VERSION%
bun add --dev --exact prettier@%PRETTIER_VERSION%
```
+
+
+
+```bash
+deno install --dev --save-exact prettier@%PRETTIER_VERSION%
+```
+
@@ -136,6 +143,19 @@ If you forget to install Prettier first, `bunx` will temporarily download the la
:::
+
+
+
+```bash
+deno x prettier . --write
+```
+
+:::info
+
+What is `deno x` doing at the start? It runs the locally installed Prettier. We’ll leave off the `deno x` part for brevity throughout the rest of this file!
+
+:::
+
@@ -219,6 +239,15 @@ bunx husky init
bun --eval "fs.writeFileSync('.husky/pre-commit','bunx lint-staged\n')"
```
+
+
+
+```bash
+deno install --dev husky lint-staged
+deno x husky init
+deno eval "Deno.writeTextFileSync('.husky/pre-commit','deno x lint-staged\n')"
+```
+
diff --git a/docs/precommit.md b/docs/precommit.md
index cf55d75d5..02ec60830 100644
--- a/docs/precommit.md
+++ b/docs/precommit.md
@@ -64,6 +64,15 @@ node --eval "fs.writeFileSync('.simple-git-hooks.json',JSON.stringify({'pre-comm
bun simple-git-hooks
```
+
+
+
+```bash
+deno install --dev simple-git-hooks pretty-quick
+deno eval "Deno.writeTextFileSync('.simple-git-hooks.json',JSON.stringify({'pre-commit':'deno x pretty-quick --staged'},undefined,2)+'\n')"
+deno x simple-git-hooks
+```
+
@@ -139,6 +148,15 @@ bun add --dev git-format-staged
bun --eval "fs.writeFileSync('.husky/pre-commit', 'git-format-staged -f \'prettier --ignore-unknown --stdin --stdin-filepath \"{}\"\' .\n')"
```
+
+
+
+```bash
+deno x husky init
+deno install --dev git-format-staged
+deno eval "Deno.writeTextFileSync('.husky/pre-commit', 'git-format-staged -f \'prettier --ignore-unknown --stdin --stdin-filepath \"{}\"\' .\n')"
+```
+
diff --git a/docs/sharing-configurations.md b/docs/sharing-configurations.md
index f8d941d9a..cf28ae53f 100644
--- a/docs/sharing-configurations.md
+++ b/docs/sharing-configurations.md
@@ -109,6 +109,13 @@ pnpm add --save-dev @username/prettier-config
bun add --dev @username/prettier-config
```
+
+
+
+```bash
+deno install --dev @username/prettier-config
+```
+