Skip to main content

Quickstart Guide

This guide will help you get started with Tuist, from installation to creating your first generated project.

What you’ll accomplish

1

Install Tuist

Set up Tuist on your development machine
2

Initialize a project

Create a new project with Tuist or integrate an existing one
3

Generate and build

Generate your Xcode project and build your app
4

Explore features

Learn about caching, testing, and cloud services

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:
Once Mise is installed, you can run Tuist commands directly:
Run Tuist via Mise
For persistent installation in your project:
Install Tuist in project
This creates a .mise.toml file that pins the Tuist version for your project, ensuring all team members use the same version.
See the Installation guide for other installation methods including direct download and building from source.

Step 2: Initialize your project

Create a new project from scratch with Tuist’s interactive setup:
Create new project
The interactive CLI will guide you through:
  1. Authentication: Log in to Tuist Cloud (free tier available)
  2. Project type: Choose to create a generated project
  3. Project name: Enter your app name
  4. Platform: Select iOS, macOS, tvOS, watchOS, or visionOS
  5. Organization: Choose or create an organization
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
This command:
  • Reads your Project.swift manifest
  • Resolves dependencies
  • Generates an .xcodeproj or .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
Use tuist test --help to see all testing options including selective testing.

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
Warm the cache:

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
This opens an interactive visualization showing:
  • Target dependencies
  • External packages
  • Dependency relationships

Share previews

Share your app with stakeholders:
Share app preview
This uploads your app and provides a shareable link that anyone can use to install the app on their device.

Preview documentation

Learn about app previews and distribution

Understanding the Project.swift manifest

Your Project.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