Command Line Interface
The Tauri command line interface (CLI) is the way to interact with Tauri throughout the development lifecycle.
You can add the Tauri CLI to your current project using your package manager of choice:
List of Commands
Command | Description |
---|---|
init | Initialize a Tauri project in an existing directory |
dev | Run your app in development mode |
build | Build your app in release mode and generate bundles and installers |
bundle | Generate bundles and installers for your app (already built by tauri build ) |
android | Android commands |
android init | Initialize Android target in the project |
android dev | Run your app in development mode on Android |
android build | Build your app in release mode for Android and generate APKs and AABs |
migrate | Migrate from v1 to v2 |
info | Show a concise list of information about the environment, Rust, Node.js and their versions as well as a few relevant project configurations |
add | Add a tauri plugin to the project |
plugin | Manage or create Tauri plugins |
plugin new | Initializes a new Tauri plugin project |
plugin init | Initialize a Tauri plugin project on an existing directory |
plugin android | Manage the Android project for a Tauri plugin |
plugin ios | Manage the iOS project for a Tauri plugin |
plugin android init | Initializes the Android project for an existing Tauri plugin |
plugin ios init | Initializes the iOS project for an existing Tauri plugin |
icon | Generate various icons for all major platforms |
signer | Generate signing keys for Tauri updater or sign files |
signer sign | Sign a file |
signer generate | Generate a new signing key to sign files |
completions | Generate Tauri CLI shell completions for Bash, Zsh, PowerShell or Fish |
permission | Manage or create permissions for your app or plugin |
permission new | Create a new permission file |
permission add | Add a permission to capabilities |
permission rm | Remove a permission file, and its reference from any capability |
permission ls | List permissions available to your application |
capability | Manage or create capabilities for your app |
capability new | Create a new permission file |
inspect | Manage or create permissions for your app or plugin |
inspect wix-upgrade-code | Print the default Upgrade Code used by MSI installer derived from productName |
init
dev
build
bundle
android
android init
android dev
android build
migrate
info
add
plugin
plugin new
plugin init
plugin android
plugin android init
plugin ios
plugin ios init
icon
signer
signer sign
signer generate
completions
permission
permission new
permission add
permission rm
permission ls
capability
capability new
inspect
inspect wix-upgrade-code
© 2024 Tauri Contributors. CC-BY / MIT