Quick Start
Get your cross-platform monorepo up and running in minutes.
Prerequisites
You need these installed on your machine:
Platform Dependencies
Native apps require platform-specific tools: Xcode (macOS/iOS), Android Studio + NDK (Android), or C++ Build Tools (Windows). Follow the Tauri Prerequisites for your OS.
1. Scaffolding
The official CLI initializes the workspace, renaming identifiers, and setting up the monorepo structure.
npm create @tntstack/app@latestpnpm create @tntstack/app@latestbunx @tntstack/create-appyarn create @tntstack/appCLI Options
The CLI is interactive by default, but you can pass flags to skip prompts:
| Flag | Description | Default |
|---|---|---|
-n, --name <name> | Project name | (prompted) |
-g, --github-user <user> | GitHub username or org | your-github-username |
-i, --identifier <id> | App identifier (reverse-domain) | com.<name>.app |
-v, --app-version <ver> | Initial version | 0.1.0 |
--no-install | Skip dependency installation | (false) |
Example:
npm create @tntstack/app@latest --name <your-project-name> --github-user <your-github-username> --no-install2. Local Development
Navigate
cd <your-project-name>Start all apps
pnpm devThe web development server starts at http://localhost:3000 and the native desktop app in parallel.
Selective Development
If you only want to work on one platform:
| Platform | Command |
|---|---|
| Web | pnpm web dev |
| Desktop | pnpm tauri dev |
| Android | pnpm tauri android dev |
| iOS | pnpm tauri ios dev |
3. CI/CD & Repository Settings
TNTStack uses Release Please for automated versioning and changelog generation. If you host your code on GitHub, you must grant specific permissions for the release bot and enforce a linear git history.
Step A: Workflow Permissions
- Go to your repository Settings > Actions > General.
- Scroll down to Workflow permissions.
- Select Read and write permissions.
- Check Allow GitHub Actions to create and approve pull requests.
Step B: Enforce Squash Merging
Without a linear git history, the release bot will fail to parse your commits and break the automated release cycle.
- Go to your repository Settings > General.
- Scroll down to the Pull Requests section.
- Uncheck Allow merge commits and Allow rebase merging.
- Check only Allow squash merging.
- Under the "Default commit message" dropdown for squash merging, strictly select Pull request title.
Without these settings, the automated release PRs will either lack permission to run or fail due to a tangled commit history.