tauri-docs
tauri-docs copied to clipboard
[docs] "no such command: `tauri`" when following Getting Started cargo guide
Observed behavior:
- Follow this guide, selecting the 'cargo' tab to get started, creating a new Tauri app.
- I jump to the 'Development Cycle' section, as I'm working with cargo, and find
cargo tauri devhere as the command to start the server. - I run
➜ cargo tauri
error: no such command: `tauri`
Expected behavior:
- I see a
cargo install tauri-cliin the instructions here before I start my server viacargo tauri dev.
Every guide has this a Create Rust Project section which includes a note about installing the tauri-cli using cargo like this one https://tauri.app/v1/guides/getting-started/setup/vite#create-the-rust-project, nonetheless, I still think it should be mentioned in the Development cycle as well so I will transfer it to tauri-docs
I see now.
The mistake I had made is that, because I intended to use Yew, I ignored the "HTML, CSS, JS" section and skipped to the Development cycle section.
Thank you for your help and this great product.
Closing this as we're working on the 2.0 documentation and are unlikely to make changes to the 1.0 docs that would fix this sort of issue.
Every guide has this a
Create Rust Projectsection which includes a note about installing thetauri-cliusing cargo like this one https://tauri.app/v1/guides/getting-started/setup/vite#create-the-rust-project, nonetheless, I still think it should be mentioned in theDevelopment cycleas well so I will transfer it to tauri-docs
not in https://v2.tauri.app/start/create-project/
2025 - still hitting this!
Aww, This just bite me.
I'm getting the same error.
Even IA is hitting this, cargo install tauri-cli
not in https://v2.tauri.app/start/create-project/
It is still not fixed. Please assign this to me.