File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -28,38 +28,38 @@ export const CreateTauriApp = () => {
2828 < Tabs groupId = "package-manager" >
2929 < TabItem value = "Bash" >
3030 < CodeBlock className = "language-shell" language = "shell" >
31- { `sh <(curl https://create.tauri.app/sh)` }
31+ { `sh <(curl https://create.tauri.app/sh) --tauri-version 1 ` }
3232 </ CodeBlock >
3333 </ TabItem >
3434 < TabItem value = "PowerShell" >
3535 < CodeBlock className = "language-shell" language = "powershell" >
36- irm https://create.tauri.app/ps | iex
36+ $Env:CTA_ARGS = "--tauri-version 1"; irm https://create.tauri.app/ps | iex
3737 </ CodeBlock >
3838 </ TabItem >
3939 < TabItem value = "Cargo" >
4040 < CodeBlock className = "language-shell" language = "shell" >
4141 { `cargo install create-tauri-app --locked
42- cargo create-tauri-app` }
42+ cargo create-tauri-app --tauri-version 1 ` }
4343 </ CodeBlock >
4444 </ TabItem >
4545 < TabItem value = "npm" >
4646 < CodeBlock className = "language-shell" language = "shell" >
47- npm create tauri-app@latest
47+ npm create tauri-app@latest -- --tauri-version 1
4848 </ CodeBlock >
4949 </ TabItem >
5050 < TabItem value = "Yarn" >
5151 < CodeBlock className = "language-shell" language = "shell" >
52- yarn create tauri-app
52+ yarn create tauri-app --tauri-version 1
5353 </ CodeBlock >
5454 </ TabItem >
5555 < TabItem value = "pnpm" >
5656 < CodeBlock className = "language-shell" language = "shell" >
57- pnpm create tauri-app
57+ pnpm create tauri-app --tauri-version 1
5858 </ CodeBlock >
5959 </ TabItem >
6060 < TabItem value = "Bun" >
6161 < CodeBlock className = "language-shell" language = "shell" >
62- bunx create-tauri-app
62+ bunx create-tauri-app --tauri-version 1
6363 </ CodeBlock >
6464 </ TabItem >
6565 </ Tabs >
You can’t perform that action at this time.
0 commit comments