Install
Prerequisites
Section titled “Prerequisites”- macOS
- Xcode 16+ selected (
xcode-select -p) - For device runs: signed-in development team in Xcode Accounts
sochi doctor # after installRelease binary (install script)
Section titled “Release binary (install script)”curl -fsSL https://raw.githubusercontent.com/Chandram-Dutta/sochi/main/install.sh | bashInstalls the latest GitHub Release into ~/.sochi/bin and updates PATH unless disabled.
| Env | Meaning |
|---|---|
SOCHI_VERSION=v0.1.0 |
Install that release tag |
SOCHI_INSTALL=/prefix |
Install under /prefix/bin/sochi |
SOCHI_NO_MODIFY_PATH=1 |
Do not edit shell rc files |
Homebrew
Section titled “Homebrew”brew tap Chandram-Dutta/sochi https://github.com/Chandram-Dutta/sochibrew install sochi # latest release tarballbrew install --HEAD sochi # build from `main`From source
Section titled “From source”git clone https://github.com/Chandram-Dutta/sochi.gitcd sochiswift build -c release # .build/release/sochiswift run sochi doctor # without installingsochi --version is dev for source builds. Released binaries are stamped from the GitHub tag by CI (scripts/build-release.sh / .github/workflows/release.yml). The install script and Homebrew formula always fetch GitHub Releases.
Teams are read from Xcode → Settings → Accounts. Override with --team <id|name> or SOCHI_TEAM. --team auto clears a remembered override.