fix: use deno run for init instead of deno create before 2.3.0 (#3746)

## Summary
- Reverts all references from `deno create @fresh/init` back to `deno
run -Ar jsr:@fresh/init` across docs, READMEs, homepage, and CLI help
text
- Removes the deprecation warning in `packages/init/src/mod.ts` that
told users to switch to `deno create`

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Bartek Iwańczuk
2026-03-31 09:19:14 +02:00
committed by GitHub
co-authored by Claude Opus 4.6
parent a872a70e5f
commit 3a51f82da6
10 changed files with 12 additions and 16 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ Let's set up your first Fresh project. To create a new project, run this
command:
```sh Terminal
deno create @fresh/init
deno run -Ar jsr:@fresh/init
```
This will spawn a short wizard that guides you through the setup, like the
+1 -1
View File
@@ -24,7 +24,7 @@ app.listen();
Create a new Fresh app by running:
```sh Terminal
deno create @fresh/init
deno run -Ar jsr:@fresh/init
```
## Features
+1 -1
View File
@@ -314,7 +314,7 @@ to [update the command](/docs/deployment/deno-compile) to generate the binary.
If you run into problems with upgrading your app, first, try starting a new
Fresh 2 project and looking at the new structure.
eg. `mkdir fresh2-demo && cd fresh2-demo && deno create @fresh/init`
eg. `mkdir fresh2-demo && cd fresh2-demo && deno run -Ar jsr:@fresh/init`
### 2. Document