<issue_start><issue_comment>Title: Tauri version conflict in template generation?
username_0: **Describe the bug**
A clear and concise description of what the bug is.

When I follow the docs about how to setup [Tauri in WSL2-Ubuntu](https://tauri.studio/en/docs/getting-started/setup-linux) and how to [create a Tauri app in WSL2-Ubuntu](https://tauri.studio/en/docs/usage/development/integration) and run `yarn tauri dev` I get the following error:

```
error: failed to select a version for the requirement `tauri = "^1.0.0-beta-rc.4"`
candidate versions found which didn't match: 0.11.1, 0.11.0, 0.10.0, ...
location searched: crates.io index
required by package `app v0.1.0 (/home/florian/gitlab/tauri-test/src-tauri)`
```

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Platform and Versions (please complete the following information):**
<!-- You can use the `tauri info` command to get this information -->
OS:
Node:
NPM:
Yarn:
Rustc:

**Additional context**
Add any other context about the problem here.

**Stack Trace**
<!-- add if applicable -->
<issue_comment>username_1: You're probably using an older tauri CLI version. the `@tauri-apps/cli` version must be `1.0.0-beta.2`.<issue_closed>
<issue_comment>username_0: @username_1 `create-tauri-app` works just fine for me.
<issue_comment>username_2: I ran into the same issue by following https://tauri.studio/en/docs/getting-started/intro with Ubuntu and yarn. Running `yarn add -D @tauri-apps/cli` `yarn tauri init` in a directory with nothing but the initial package.json works, but I can replicate the issue by first running `yarn set version berry` (as recommended in yarn's installation guide https://yarnpkg.com/getting-started/install).

`yarn set version berry`
```
Resolving berry to a url...
Downloading https://github.com/yarnpkg/berry/raw/master/packages/berry-cli/bin/berry.js...
Saving it into /drive/4tb/ext4/Dev/avara/.yarn/releases/yarn-berry.cjs...
Updating /drive/4tb/ext4/Dev/avara/.yarnrc.yml...
Done!
```
`yarn add -D @tauri-apps/cli`
```
➤ YN0000: ┌ Resolution step
➤ YN0032: │ sharp@npm:0.28.1: Implicit dependencies on node-gyp are discouraged
➤ YN0061: │ uuid@npm:3.4.0 is deprecated: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
➤ YN0032: │ node-addon-api@npm:3.2.1: Implicit dependencies on node-gyp are discouraged
➤ YN0000: └ Completed in 1s 558ms
➤ YN0000: ┌ Fetch step
➤ YN0013: │ xtend@npm:4.0.2 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ yallist@npm:2.1.2 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ yallist@npm:4.0.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ yauzl@npm:2.10.0 can't be found in the cache and will be fetched from the remote registry
➤ YN0013: │ zopflipng-bin@npm:6.0.1 can't be found in the cache and will be fetched from the remote registry
➤ YN0000: └ Completed in 3s 170ms
➤ YN0000: ┌ Link step
➤ YN0007: │ optipng-bin@npm:7.0.0 must be built because it never did before or the last one failed
➤ YN0007: │ pngquant-bin@npm:6.0.0 must be built because it never did before or the last one failed
➤ YN0007: │ zopflipng-bin@npm:6.0.1 must be built because it never did before or the last one failed
➤ YN0007: │ sharp@npm:0.28.1 must be built because it never did before or the last one failed
➤ YN0000: └ Completed in 1s 771ms
➤ YN0000: Done with warnings in 6s 575ms
```
`yarn tauri init`
```
Downloading Tauri CLI
Download Complete
 app:spawn Running "/drive/4tb/ext4/Dev/avara/.yarn/unplugged/@tauri-apps-cli-npm-1.0.0-beta-rc.4-ba215f0c6e/node_modules/@tauri-apps/cli/bin/tauri-cli tauri init" +0ms
```
Without changing the yarn version, the last line instead reads 
```
app:spawn Running "/drive/4tb/ext4/Dev/avara/node_modules/@tauri-apps/cli/bin/tauri-cli tauri init" +0ms
```
which looks more appropriate and works.