Getting Started¶
This guide will help you install Multi and set up your first multi-repo workspace.
Prerequisites¶
- Python 3.9 or higher
- Git
Installation¶
Verify the installation:
Creating a Workspace¶
Step 1: Create a Workspace Directory¶
Create a new directory that will house all your related repositories:
Step 2: Initialize the Workspace¶
Run the interactive init command:
Step 3: Add Repository URLs¶
When prompted, paste the URLs of the repositories you want to include. You can optionally add descriptions for each repository:
Enter repository URLs (one per line, empty line to finish):
> https://github.com/org/backend
Description (optional): Backend API service
> https://github.com/org/frontend
Description (optional): React frontend application
> https://github.com/org/shared
Description (optional): Shared utilities and types
>
The init command will:
- Create a
multi.jsonconfiguration file - Run
multi sync - Clone repositories (standard mode)
- Set up the initial
.vscodeconfiguration - Create a
README.mdfor your workspace if missing - Optionally create Cursor rules with repository descriptions
Automation Path¶
For scripts/automation, create or edit multi.json directly and run:
VS Code Extension¶
For the best experience, install the Multi Workspace VS Code Extension. The extension automatically runs multi sync when relevant files change, keeping your workspace configuration up to date.
Manual Syncing¶
If you prefer not to use the extension, you can manually sync your workspace:
This command:
- Ensures all repositories are cloned and up to date
- Merges
.vscodeconfigurations from all sub-repos - Generates
CLAUDE.mdfiles from Cursor rules - Syncs ruff configurations
Next Steps¶
- Learn about all available commands
- Understand the configuration format
- Set up branch synchronization for your workflow