# Installing on a Mac `tools/setup.py` has been run on one Mac (Apple Silicon, with Python, Node and ffmpeg already installed), where all three engines rendered on the graphics card. A fresh Mac, Intel Macs, large scans and a whole film have not been tried yet. Setup's verdict says what it could and could not check; [`MAC.md`](MAC.md) lists the open questions. Please report what happens. ## For the assistant Read this block first, then follow the steps below in order. - **Ask before installing system programs** (Homebrew, and anything `brew install` adds). Say what each is for in one line. **Don't ask** before cloning the skill or running `setup.py`: that is the setup the user asked for. - **Offer the voiceover tools once, default no:** "Do you want voiceovers in your films? Most first films don't need one, and you can add it later." On yes, add `--voice` to setup, and offer `ffmpeg-full` (step 2), which burned-in subtitles need. - **Don't install an engine and don't search the disk for scans.** If the user has already named a scan, pass it to setup with `--scan`; it then renders 2 seconds to prove the machine works (and installs the default engine, about 1 GB, in a test folder beside the scan). Otherwise leave it out. - **The user must do two things themselves,** because you can't: click Install in Apple's developer-tools window (step 1), and type their password into Terminal for Homebrew's installer (step 2). Tell them how to open Terminal (below) and give them the exact line to paste. - **Restart only if you installed Homebrew in this session.** A program that is new on the PATH is not seen by a shell that was already open. Until the user restarts you, put `eval "$(/opt/homebrew/bin/brew shellenv)";` in front of each command (`/usr/local/bin/brew` on an Intel Mac). Nothing needs activating: the tools are run with the Python that `setup.py` writes into `projects.local.md`. - **At the end, report setup's verdict** in plain words, in its three parts: what works, what will cause trouble and how to fix it, and what is not yet tested on a Mac. Say how much disk it used: about 270 MB for the tools' environment, about 470 MB more with `--voice`, and the test project's size if a scan was given. ## Opening Terminal Press **Command + Space**, type **Terminal**, press **Return**. (Or in Finder: Applications, then Utilities, then Terminal.) To run a line, paste it and press Return. When Terminal asks for your password, type your Mac login password: **nothing appears while you type**, which is normal. Press Return when done. ## 1. See what is installed ```sh git --version brew --version python3.12 --version node --version ffmpeg -version ``` **On a new Mac, the first `git --version` opens a window from Apple** offering to install the "command line developer tools". Click **Install**, accept, and wait a few minutes. Then run `git --version` again. `python3` is not enough: a Mac often has several (Apple's, Homebrew's newest, conda's), and the tools were tested on 3.12, so this setup uses `python3.12` throughout. ## 2. Install what is missing **Homebrew**, if `brew --version` failed. The user pastes this into Terminal: ```sh /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" ``` It asks for the password and to press Return. At the end it prints "Next steps" with two or three lines to run: run them (they put `brew` on the PATH), then close Terminal and open a new one. **Then the programs** (only the missing ones; installing one that is already there is harmless): ```sh brew install git python@3.12 node ffmpeg ``` **For subtitles,** which a film with a voiceover gets: Homebrew's `ffmpeg` cannot burn them in (it is built without libass). `ffmpeg-full` can. It installs beside the plain one, stays off the PATH, and the skill finds it by itself: ```sh brew install ffmpeg-full ``` (Its formula was read, not run on a Mac. Its ready-made builds are for Apple Silicon; an Intel Mac compiles it, which takes a long time.) ## 3. Get the skill ```sh git clone https://github.com/michaelrubloff/splat-walkthrough ~/.claude/skills/splat-walkthrough ``` If that folder already exists: `git -C ~/.claude/skills/splat-walkthrough pull`. ## 4. Run setup ```sh python3.12 ~/.claude/skills/splat-walkthrough/tools/setup.py ``` Add `--voice` for the voiceover tools, and `--scan /path/to/scan.ply` to render 2 seconds from a scan. It makes `~/splat-venv`, installs the Python packages, writes where everything is into the skill's `projects.local.md`, checks ffmpeg, Node and the free disk space, and ends with the verdict. It asks no questions, and it is safe to run again. ## Voiceover extras Only with `--voice`: - **ElevenLabs** (paid): add `export ELEVENLABS_API_KEY=...` to `~/.zshrc` and open a new Terminal. Never put the key in a project file. - **Kokoro** (free, local): put `kokoro-v1.0.onnx` and `voices-v1.0.bin` from the [kokoro-onnx](https://github.com/thewh1teagle/kokoro-onnx) releases into each project's `tts/models/` folder. - **Whisper** downloads its `small.en` model the first time a voice is checked. The voice checks assume English. ## Then Close the assistant and open it again **only if** Homebrew itself was installed in step 2 in this session. Then open it in the folder that holds your scan and ask for a walkthrough (`README.md`, "Then make a video").