LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

tauri

Build desktop apps with web technologies

TLDR

Initialize a new Tauri project
$ tauri init
copy
Start development server
$ tauri dev
copy
Build production application
$ tauri build
copy
Build with debug symbols
$ tauri build --debug
copy
Build for specific target
$ tauri build --target [x86_64-apple-darwin]
copy
Build specific bundle types
$ tauri build --bundles [deb,appimage]
copy
Generate icons
$ tauri icon [icon.png]
copy
Display version
$ tauri --version
copy

SYNOPSIS

tauri [command] [options]cargo tauri [command] [options]

DESCRIPTION

tauri is the command-line interface for building Tauri applications. Tauri is a framework for building tiny, fast desktop applications with web technologies (HTML, CSS, JavaScript) and a Rust backend.The CLI manages the complete application lifecycle: project initialization, development with hot-reload, production builds, and distribution packaging. It integrates with the frontend build process and handles platform-specific bundling.Applications can be built for Windows (MSI, NSIS), macOS (DMG, app bundle), and Linux (DEB, RPM, AppImage). The framework produces small binaries by using the system webview rather than bundling a browser engine.Install via Cargo: `cargo install tauri-cli` or npm: `npm add -D @tauri-apps/cli`

PARAMETERS

-v, --verbose

Enable verbose logging.
-d, --debug
Build with debug profile.
-t, --target target
Target triple (e.g., x86_64-unknown-linux-gnu).
-f, --features features
Comma-separated Rust features to enable.
-b, --bundles bundles
Bundle types: deb, rpm, appimage, msi, app, dmg, updater.
-r, --runner runner
Build tool to use (default: cargo).
-c, --config file
Path to tauri.conf.json or config JSON string.
-h, --help
Display help information.

COMMANDS

init: Initialize a new Tauri project in existing directory.dev: Start development server with hot-reload.build: Build production application bundle.icon: Generate icons from source image.info: Show environment diagnostic information.add: Add a Tauri plugin to the project.plugin: Plugin development commands.signer: Signing utilities for updates.completions: Generate shell completions.

CAVEATS

Requires Rust toolchain and platform-specific dependencies (WebKitGTK on Linux, Xcode on macOS, WebView2 on Windows). Cross-compilation has limitations. Universal macOS builds require both ARM and Intel targets installed.

HISTORY

Tauri was created as a lightweight alternative to Electron, using system webviews instead of bundled Chromium. Version 1.0 was released in 2022, with version 2.0 adding mobile platform support. The project is maintained by the Tauri Program within the Commons Conservancy.

SEE ALSO

cargo(1), npm(1), electron(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid