Overview
Thetuist init command helps you bootstrap a new Tuist project or add Tuist to an existing project. It guides you through an interactive setup process to configure your project structure.
Usage
Options
The path to the directory from where to start. Defaults to the current directory.
Short form of
--path.Examples
Initialize in current directory
Initialize in a specific directory
What it does
Thetuist init command:
- Analyzes your current project structure
- Prompts you for project configuration preferences
- Generates the necessary manifest files (
Project.swift,Workspace.swift, etc.) - Creates a recommended project structure
Next steps
After initializing your project:Generate
Generate an Xcode workspace from your manifests
Build
Build your project with Tuist