tauri-docs icon indicating copy to clipboard operation
tauri-docs copied to clipboard

[docs] "no such command: `tauri`" when following Getting Started cargo guide

Open seenickcode opened this issue 2 years ago • 8 comments

Observed behavior:

  1. Follow this guide, selecting the 'cargo' tab to get started, creating a new Tauri app.
  2. I jump to the 'Development Cycle' section, as I'm working with cargo, and find cargo tauri dev here as the command to start the server.
  3. I run
➜ cargo tauri                           
error: no such command: `tauri`

Expected behavior:

  1. I see a cargo install tauri-cli in the instructions here before I start my server via cargo tauri dev.

seenickcode avatar Feb 19 '23 20:02 seenickcode

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

amrbashir avatar Feb 19 '23 22:02 amrbashir

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.

seenickcode avatar Feb 20 '23 02:02 seenickcode

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.

simonhyll avatar Sep 15 '23 20:09 simonhyll

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

not in https://v2.tauri.app/start/create-project/

deerchao avatar Dec 10 '24 02:12 deerchao

2025 - still hitting this!

michaelneale avatar Jan 22 '25 00:01 michaelneale

Aww, This just bite me.

katopz avatar Jan 24 '25 02:01 katopz

I'm getting the same error.

vincentmader avatar Jan 29 '25 21:01 vincentmader

Even IA is hitting this, cargo install tauri-cli

axellpadilla avatar Apr 23 '25 05:04 axellpadilla

not in https://v2.tauri.app/start/create-project/

It is still not fixed. Please assign this to me.

endernoke avatar Sep 28 '25 15:09 endernoke