Documentation Index
Fetch the complete documentation index at: https://mintlify.com/tuist/tuist/llms.txt
Use this file to discover all available pages before exploring further.
Quickstart Guide
This guide will help you get started with Tuist, from installation to creating your first generated project.What you’ll accomplish
Prerequisites
macOS
macOS 12.0 or later (for Xcode projects)
Xcode
Xcode 14.0 or later installed
Swift
Swift 5.9 or later
Command Line Tools
Xcode Command Line Tools installed
Tuist also runs on Linux for commands that don’t require Xcode, such as authentication, project management, and analytics.
Step 1: Install Tuist
The recommended way to install Tuist is using Mise, a versatile development tool version manager:Run Tuist via Mise
Install Tuist in project
.mise.toml file that pins the Tuist version for your project, ensuring all team members use the same version.
Step 2: Initialize your project
- New project
- Existing Xcode project
Create a new project from scratch with Tuist’s interactive setup:The interactive CLI will guide you through:
Create new project
- Authentication: Log in to Tuist Cloud (free tier available)
- Project type: Choose to create a generated project
- Project name: Enter your app name
- Platform: Select iOS, macOS, tvOS, watchOS, or visionOS
- Organization: Choose or create an organization
What gets created?
What gets created?
Tuist generates a complete project structure:
- Project.swift: Swift-based project definition
- Sources/: Your application code
- Resources/: Assets, storyboards, and other resources
Step 3: Generate and build
Once your project is set up, generate the Xcode project:Generate Xcode project
- Reads your
Project.swiftmanifest - Resolves dependencies
- Generates an
.xcodeprojor.xcworkspace - Opens it in Xcode (unless you use
--no-open)
Build your project
You can build using Xcode or directly from the command line:Run tests
Run all tests
Run specific test target
Step 4: Explore features
Now that you have a working project, explore Tuist’s powerful features:Cache for faster builds
Enable caching to speed up your builds:Config.swift
Learn more about caching
Discover how to optimize build times with Tuist’s intelligent caching
Visualize your project graph
Understand your project’s dependencies:Generate dependency graph
- Target dependencies
- External packages
- Dependency relationships
Share previews
Share your app with stakeholders:Share app preview
Preview documentation
Learn about app previews and distribution
Understanding the Project.swift manifest
YourProject.swift file defines your project structure:
Project.swift
Project manifest reference
Explore all Project.swift options and configuration
Common commands
Here are the most frequently used Tuist commands:Full CLI reference
See all available commands and options
What’s next?
Core Concepts
Understand Tuist’s architecture and design principles
Project Structure
Learn how to organize your code and modules
Dependencies
Manage Swift packages and framework dependencies
Build Optimization
Speed up builds with caching and optimization techniques
CI/CD Integration
Set up continuous integration with Tuist
Cloud Services
Explore Tuist’s cloud platform features
Need help?
Documentation
Browse the full documentation
Community
Ask questions in our community forum
Slack
Join the Slack workspace