3-lance doesn't bundle any compilers — it uses the ones on your computer. Install a language once and every sheet in it becomes runnable. Here's how, for each of the common ones.
No restart needed. Settings → Toolchains always shows exactly what 3-lance can currently find, with version numbers, so you can check it worked.
The most common starting point. Sheets ending in .py.
macOS no longer ships a usable Python, so install your own.
brew install pythonpython3 --versionOr download the installer from python.org if you'd rather not use a terminal at all.
Missed the checkbox? Re-run the installer, choose Modify, and enable it — no need to uninstall.
Sheets ending in .js, .mjs or .ts.
brew install node
Recent Node versions run TypeScript directly. For older ones, install
tsx with npm i -g tsx.
Sheets ending in .c, .cpp or .h. These compile first, then run.
xcode-select --install
This gives you Apple's clang, which 3-lance uses for both C and C++.
You do not need the full Xcode app.
Windows has no C compiler out of the box. Two options:
pacman -S mingw-w64-ucrt-x86_64-gcc and add
C:\msys64\ucrt64\bin to your PATH.
This is the fiddliest setup on Windows. Everything else on this page is easier.
Same pattern each time: install it, press Rescan, run your sheet.
| Language | Sheets | Mac | Windows |
|---|---|---|---|
| Go | .go |
brew install go |
Installer from go.dev |
| Rust | .rs |
Both: the one-liner at rustup.rs | |
| Ruby | .rb |
brew install ruby |
RubyInstaller |
| Java | .java |
brew install openjdk |
Adoptium (JDK 11+) |
| PHP | .php |
brew install php |
windows.php.net |
| Lua | .lua |
brew install lua |
Via MSYS2, or LuaBinaries |
| R | .r |
brew install r |
Installer from CRAN |
| Shell | .sh |
Already there | Needs WSL or Git Bash |
| PowerShell | .ps1 |
brew install powershell |
Already there |
Settings → Toolchains → Rescan. 3-lance re-reads your shell's PATH, so a fresh install is picked up without restarting.
Open a terminal and type the command — python3 --version. If your
terminal can't find it either, the install didn't finish.
Nine times out of ten this is it. Re-run the installer, choose Modify, and enable “Add to PATH”.
On Windows especially, PATH changes only reach apps started afterwards. Quit 3-lance fully and reopen it.
nvm, pyenv, rbenv and rustup all work — 3-lance reads the same PATH your login shell uses, so it sees the version you've selected.
The output panel names the exact command it tried and where it looked. That usually points straight at the problem.
Install what you need, press Rescan, and press Run.