Multi
Project description
multi
multi is a better way to work with VS Code/Cursor on multiple Git repos at once. It is an alternative to multi-root workspaces that offers more flexibility and control. With multi, you can gain control over how tasks, debug runnables, and various IDE and linter settings are combined from multiple project repos ("sub-repos") located within a root workspace folder.
Features:
- Generates files in your root
.vscodefolder from sub-repolaunch.json,tasks.json, andsettings.jsonfiles. - Supports optional
installSetsso installer scripts can sync only a public/runtime subset of repos. - Optionally generates
CLAUDE.mdandAGENTS.mdfiles from trackedAGENTS.parts/*.mdfiles. - In monorepo mode, syncs sub-repo GitHub workflows into root
.github/workflows.
Installation
Using pipx:
- Install pipx
- Run
pipx install multi-workspace
Using uv
- Install uv
- Run
uv tool install multi-workspace
Getting started
To get started, create a new workspace directory that will house all your related repos and run:
multi init
When prompted, paste in the URLs of all the repositories you want to have in your workspace. You can optionally specify descriptions of what they do, which can be included in generated agent instruction files when that feature is enabled.
For scripts, you can also initialize non-interactively:
multi init \
--repo https://github.com/org/backend \
--repo-description "Backend API" \
--repo https://github.com/org/frontend \
--repo-description "Frontend app"
To create GitHub repositories first, add --github-repo entries. This uses gh repo create and defaults to private visibility:
multi init \
--github-repo org/backend \
--github-description "Backend API" \
--github-repo org/frontend \
--github-description "Frontend app"
For --github-repo, the GitHub CLI (gh) must already be installed and authenticated.
When repository slugs are product-prefixed, multi init automatically writes short local directory names into multi.json when the slug matches the workspace name prefix. For example, in a t-ide/ workspace, t-ide-cli becomes local folder cli.
The same naming rule applies to multi add, so adding https://github.com/org/t-ide-cli inside a t-ide/ workspace will also default to local folder cli.
For public installer workflows, add installSets to repo entries and run a filtered sync:
{
"repos": [
{ "name": "cli", "url": "https://github.com/org/product-cli", "installSets": ["default", "dev"] },
{ "name": "ios", "url": "git@github.com:org/product-ios.git", "installSets": ["dev"] }
]
}
multi sync --install-set default
Running multi sync without --install-set still includes every repo. Repos without installSets are included in every named set.
To grant or remove GitHub collaborator access across every GitHub repo in a workspace, use:
multi collaborator add octocat --permission maintain --yes
multi collaborator add --yes
multi collaborator accept --yes
multi collaborator remove octocat --yes
multi collaborator recent-users
When the workspace root repository has a GitHub origin, multi collaborator applies the change there too.
The invited collaborator can run multi collaborator accept --yes with their own gh authentication to accept pending invitations for the workspace repos.
Recent collaborator usernames are saved under ~/.multi, and multi collaborator add can prompt from that list when no username is supplied.
If one repo fails, multi collaborator continues through the rest of the workspace and reports the failures at the end.
It is recommended you also install the VS Code Extension that automatically keeps your project synced when edits are made to synced files. To manually sync, you can run multi sync.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file multi_workspace-3.2.7.tar.gz.
File metadata
- Download URL: multi_workspace-3.2.7.tar.gz
- Upload date:
- Size: 47.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4f0342d58b6590d6a8ea1837ea82e4248757f4a4f1a91750b3d313a5083a1546
|
|
| MD5 |
79ab55fe465ebe0278bc8d767125d16e
|
|
| BLAKE2b-256 |
9e93a27632ab7465c156ef6a170c16034ba1e6414ebed808c825ba2c0ae9c991
|
File details
Details for the file multi_workspace-3.2.7-py3-none-any.whl.
File metadata
- Download URL: multi_workspace-3.2.7-py3-none-any.whl
- Upload date:
- Size: 64.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
54159303d0fdccd32e2cb35d4762efa4e3e9e2e017a6433ada96e7b8d68bfad6
|
|
| MD5 |
bfe88a8a8fa616ec224f74e346f37a48
|
|
| BLAKE2b-256 |
2a991efecb3ac24918d3092f2e3851552cbed427ad721573345a83a8281a2734
|