Command reference
ed machines toolchain
Compares the tool versions a local repository declares with the versions this Mac and saved machines actually run.
ed machines toolchain <repository> [--machine <target>]... [--json]ed machines <machine> toolchain <repository>Arguments
| Name | Type / values | Default | What it does |
|---|---|---|---|
<repository> |
local folder, required | none | Repository root, resolved against your working directory. |
Options
| Name | Type / values | Default | What it does |
|---|---|---|---|
--machine |
local or a saved machine, repeatable up to eight |
local |
Target to probe. Duplicates are probed once. |
--json |
flag | off | Emit every row and warning as JSON instead of the compact report. |
--help, -h |
flag | off | Print the help for this command and exit 0. |
Declarations
Only root-level files are read: .tool-versions, .nvmrc, .node-version,
.swift-version, .bun-version, .python-version, .ruby-version,
mise.toml, .mise.toml, and engines plus packageManager in
package.json. Each declaration stays a separate row, so conflicting pins stay
visible. Files over 256 KiB, invalid JSON, links leaving the repository and
unsupported mise forms such as arrays, nested tool tables and includes produce
review warnings. Numeric prefixes, x and * suffixes, comparators, caret,
tilde, space separated conjunctions and || alternatives are understood.
Aliases such as lts/* and prerelease versions stay unresolved.
Probes
Each target receives one probe script for all the declared tools it supports:
Node (node, nodejs), Swift, Bun, Python (python, python3), Ruby, Go
(go, golang), Rust (rustc), Deno, npm, pnpm and Yarn. The script runs from
the filesystem root, never inside the repository, so repository configuration
such as .yarnrc.yml or .npmrc is never loaded. Executables in shims,
node_modules, .rustup and .cargo/bin directories are reported as installer
shims instead of being run, and automatic installs and Corepack downloads are
disabled. On macOS the /usr/bin/swift wrapper resolves to the selected
developer directory's compiler. Each script has a thirty second deadline.
This Mac uses Edith's tool search path (your shell PATH, Homebrew, nvm and
the usual system folders). A remote machine uses the PATH of its
non-interactive SSH shell. Windows machines and unreachable machines produce
unresolved rows with a reason. An unknown machine or an unreadable repository
folder fails the command.
Output
The compact report lists mismatched and unresolved rows with the source,
requested version, resolved version, command path and reason. JSON has
format: 1, warnings and rows; each row has machine, tool, source,
requested, path, resolved, status (match, mismatch or unresolved)
and reason. A report exits 0 even when it contains mismatches. A missing
repository folder exits 2 and an unknown machine exits 3.
In the app, a machine's Tools tab has Toolchain doctor, which compares this Mac and that machine through the same probes.
Examples
ed machines toolchain ~/work/storefronted machines box toolchain ~/work/storefronted machines toolchain ~/work/storefront --machine local --machine box --json > toolchain.jsonWhere to go next
ed machines, the rest of this group- All
edcommands