Skip to content
gabimonchaPublic

About

No description, website, or topics provided.

Resources

Security policy

Stars

7 stars

Watchers

1 watching

Forks

Repository files navigation

dotfiles

Setup scripts, tool lists, and app settings for the owner's Macs and Linux hosts. AGENTS.md has the editing rules and the table of where each setting lives. DECISIONS.md explains the design.

Layout

mise.toml             file links and shell checkouts for every host
mise.macos.toml       Mac file links and macOS preferences
mise.linux.toml       apt packages and the login shell for Linux
mise.devhost.toml     file links for the development machines: every role but lightshell
mise.<role>.toml      one file per role: mainhost, devstation, lightshell, and the
                      container layer
configs/<app>/        the settings files, one folder per app
Brewfile              Homebrew formulae, casks, taps, and App Store apps for every Mac
apps/                 the app manifests, vendor-installed tools, and the app
                      lists of the devhost layer and of one role
bin/                  setup and repair scripts
macos/                the macOS defaults script and the telemetry login script
local/                ignored local files; only the examples are tracked

Most files in configs/ are links in HOME, so an app's change to its file is a change in this repository. Commit it to share it with your other machines. Agent, T3, and pnpm settings are the exception. These apps write private data into their settings, so mise merges selected keys from configs/claude/, configs/codex/, configs/t3/, and configs/pnpm/ into the live files. ./bin/save-settings copies your changes back without the private keys. See Agent settings.

Roles

Role Machines Layers
mainhost the MacBook, a later office Mac devhost, mainhost
devstation the Mac mini devhost, devstation
container nasbox, the NAS container devhost, devstation, container
lightshell the MacBook Air lightshell

Save the machine's role in the ignored .miserc.local.toml. A Linux container without this file uses container. DOTFILES_PROFILE=mainhost selects a role for one command. bin/link-dotfiles writes the layers into the env line, and it rewrites an old profile name, such as macowl, to its role.

printf 'env = ["mainhost"]\n' > .miserc.local.toml

A later layer adds to the earlier ones, and replaces an entry with the same name. The Brewfiles and app manifests apply only on a Mac:

Layer Files
Every host mise.toml, mise.macos.toml or mise.linux.toml, Brewfile, apps/manifest.tsv, configs/mise/config/config.toml
devhost mise.devhost.toml, apps/devhost.Brewfile, apps/manifest.devhost.tsv, configs/mise/config/config.devhost.toml
Role mise.<role>.toml, apps/<role>.Brewfile, apps/manifest.<role>.tsv, configs/mise/config/config.<role>.toml

The every-host layer holds a terminal, a browser, Cursor, and a short list of command-line tools. The devhost layer holds the development tools, the skills, the T3, OpenCode, and pi settings, and the dev Mac apps such as AeroSpace, Karabiner, OrbStack, and Vorssaint. The name is devhost and not dev, because mise also loads mise.<env>.toml in every project folder.

A main Mac adds its personal, media, and dictation apps, Synology Drive, the T3 Code desktop app, and a clone of the private fleet repo. A devstation gets the shared and devhost lists only. The devstation guide covers its T3 server, proxy key, and remote access.

fleet holds what makes one machine different: the agent rules, the AeroSpace and Karabiner files, fan curves, and login jobs that only one machine runs. On a main Mac, setup clones it into ~/code/personal/fleet. Its README covers mise run fleet:apply.

The MacBook Air (lightshell) is not a development machine, so it does not load the devhost layer and has no fleet checkout. It adds Paper, Synology Drive, and Synology Image Assistant, Touch ID for sudo, pnpm as the default package manager (configs/mise/config/config.lightshell.toml), and the rbrtpop Git identity (configs/git/air.gitconfig). It installs Codex CLI and Claude Code with their shared settings, but no agent rules or skills. Setup skips the restores, tokenburnmarket, and the mobile step on the Air. The Air also keeps its own text, mouse, trackpad, and Dock settings, its screenshot folder, its Finder sidebar, and its display sleep, and setup makes no ~/code folders on it.

Checkout folders

Checkouts live in ~/code:

~/code/
  work/       work projects
  client/     client and side projects
  personal/   dotfiles, skills, and other personal projects
  contrib/    forks and friends' repositories
  ref/        read-only third-party clones

Setup creates work, personal, contrib, and ref when they are missing, and client on a main Mac only. It creates none of them on the MacBook Air.

This repository goes in ~/code/personal/dotfiles. ~/.config/mise links into the checkout, and the shell and the mise tasks read the checkout's path from that link.

Change a setting

Edit the file in configs/<app>/, or the [dotfiles] entry in a root mise file, then preview and apply:

./bin/link-dotfiles --status
./bin/link-dotfiles --dry-run
./bin/link-dotfiles

bin/link-dotfiles saves each file that it replaces in ~/.dotfiles-backups/links-<time>-*/. --status exits with 1 when an entry is missing or differs. --diff does not show the content of merged settings, because those files can hold tokens.

These mise tasks run the same scripts from any folder, for the checkout in $DOTFILES_ROOT, or the checkout that ~/.config/mise links to: dot:status, dot:diff, dot:apply, dot:save, dot:drift, dot:setup, dot:update, dot:packages, dot:gh-extensions, dot:backup, dot:restore, and dot:doctor. For example, run mise run dot:apply --dry-run. Each name starts with dot:, because a project task with the same name replaces a global task.

Package manager defaults

Bun and pnpm require a four-day release age, except for oh-my-t3, agent-browser, agent-desktop, agent-device, and t3. Bun uses seconds (345600), and pnpm uses minutes (5760). Project settings can override these global defaults.

Bun defaults to linker = "isolated" so globalStore = true takes effect. A project can override the linker; the hoisted linker does not use the global store. pnpm's virtualStoreType: global shares its virtual store across projects. pnpm uses the isolated linker by default; a project with the hoisted linker does not use a virtual store.

The shell sets XDG_CONFIG_HOME to ~/.config unless it is already set. Bun reads ~/.config/.bunfig.toml, and pnpm reads ~/.config/pnpm/config.yaml with this default. pnpm's config is a regular file because pnpm can write credentials into it. ./bin/link-dotfiles merges the public defaults, and ./bin/save-settings saves only the keys in configs/pnpm/sync-keys.

Agent settings

Claude Code, Codex, and T3 keep private data in ~/.claude/settings.json, ~/.codex/config.toml, and ~/.t3/userdata/settings.json. These files are merges, not links. After you change a shared setting in an app, save it into the repository and review the result:

./bin/save-settings --dry-run
./bin/save-settings
git diff configs/claude configs/codex configs/t3

configs/<app>/sync-keys marks settings public or private. A public rule names one setting, such as .theme. A private rule can name a whole section, such as .projects. Each key in the repository file needs a public rule, so add one when you add a key to a shared settings source. bin/save-settings saves only the public settings. It counts settings on neither list and does not save them. Run ./bin/save-settings --show-new to list them, add each one to the list, then save again.

A public setting can also be a list of records, such as T3's model favorites. bin/save-settings checks every key and text in each record.

A public-home rule is a public rule whose value can name a path under $HOME or ~/, such as pi's .shellCommandPrefix, which reads a file that bin/link-dotfiles deploys. An absolute path, another user's ~name/, a credential, or an email address still stops the save.

bin/save-settings leaves a file unchanged when one of its keys has no public rule, or when a public setting has become a section or holds a local path, a credential, or an email address. Its messages never show a value.

On the other machines, ./bin/link-dotfiles merges the saved keys and keeps their own private keys. The last save replaces the saved values, so merge before you change a setting: bin/save-settings refuses to save until this machine has merged the current repository file. A merge never removes a key. A key that you delete in an app stays on the other machines, and a later save from one of them puts it back. Delete it on every machine, or mark it private.

T3 shares its model and provider choices: favorites, default models, hidden models, custom models, and the provider instances. It also shares the thread, worktree, Git, and background work settings. Each machine keeps its own proxy usage source and management key, project overrides, sharing and linked environments, and device and Keychain settings. configs/t3/sync-keys lists each setting.

On the MacBook, a login job from its fleet host folder saves T3's public settings for you. Each minute, it checks ~/.t3/userdata/settings.json. When the file changed, it runs ./bin/save-settings ~/.t3/userdata/settings.json, which updates configs/t3/settings.json. The job never commits. Review git diff configs/t3 and commit when you want the other machines to get the change. When a save fails, macOS shows a notification, and .local/settings-sync/t3-autosave.log has the reason. Settings on neither list are only counted in that log. Run ./bin/save-settings --show-new to see them. mise run fleet:apply in fleet installs the job.

The Codex launch arguments keep the 60-second unload delay and select CLIProxyAPI. The global Codex provider stays openai, so the desktop app can use ChatGPT sign-in. Configure each host's private proxy URL and key before starting Codex in T3. See the proxy setup.

T3's launchArgs is one string. A merge replaces the complete string, so keep all shared arguments in it. Apply settings while no one changes them in T3. T3 reloads the file, but existing Codex processes keep their startup arguments. Start a fresh provider process to use changed arguments. The merge targets the default T3 home; a custom T3CODE_HOME needs a matching file entry.

Agent skills

configs/agents/skills/ holds the installed agent skills, and configs/agents/skill-lock.json records where each one comes from. Every development host gets the same skills. The Air gets none. ./bin/link-dotfiles links ~/.agents/skills to the folder and ~/.agents/.skill-lock.json to the lock. It also links each skill into ~/.claude/skills/, because Claude Code does not read ~/.agents/skills. Codex reads ~/.agents/skills.

The skills CLI from the mise tools writes through these links into the repository. Install, update, or remove a skill on a development host, then commit the changes in configs/agents/:

skills add <owner>/<repo> -g -a claude-code codex -y -s <skill>
skills update -g
skills remove -g <skill>
git status configs/agents

Give -a at least two agents with different skill folders, such as claude-code codex. With one agent, skills 1.8.1 copies the skill into that agent's folder, such as ~/.claude/skills/<skill>, and not into the repository. A new skill on another machine gets its ~/.claude/skills/ link at the next ./bin/link-dotfiles. After skills remove, the same run removes the broken link. The lock records the time of each update, so an update changes the lock even when the skill files stay the same.

licenses/skills/ keeps the license of each source repository. Before you add a skill from a new source, check that its license allows redistribution, because this repository is public. Then add the license file and its row in licenses/skills/README.md.

Update a machine

git pull --ff-only
./bin/link-dotfiles --dry-run
./bin/link-dotfiles

The repository's mise commands need mise 2026.11.8. If bin/repo-mise reports an older mise, run ./bin/install-standalone mise first. After a pull that moves files, bin/link-dotfiles points the old links at the new sources. It also moves local files from the old layout, such as home/.config/local/secrets.zsh, to local/. dotfiles-update pulls, then runs the setup continuation without the general macOS defaults. It then fast-forwards the shell checkouts, and on Linux it upgrades the apt packages in the mise files. It does not upgrade every installed package. The shell's daily background check only reports new commits. ./bin/prepare-sync compares the live inventory with Brewfile, apps/devhost.Brewfile, the role's apps/<role>.Brewfile, apps/mobile.Brewfile (not on the Air), and the mise lists, and saves a copy of these Brewfiles under .sync-backups/. For mise, it lists the configured tools that are missing, the installed versions that no config uses, and the tools whose registry backend changed.

Set up a new Mac

On the old Mac, run ./bin/prepare-sync to report inventory drift and ./bin/file-backup to save portable state. Complete the Raycast export and rerun ./bin/file-backup raycast to mirror it. Confirm the backups are available before you erase the old Mac. See backup and restore.

Use a public macOS release. Setup stops if the active Apple or MDM catalog offers a macOS update, the update check is inconclusive, or macOS or Xcode appears to be a prerelease. Update in System Settings, restart if needed, and retry. On a macOS beta, --allow-macos-beta lets one run continue. Setup does not install OS updates or change beta enrollment.

mkdir -p ~/code/personal
git clone https://github.com/gabimoncha/dotfiles.git ~/code/personal/dotfiles
cd ~/code/personal/dotfiles
printf 'env = ["mainhost"]\n' > .miserc.local.toml
./bin/setup

On a devstation Mac, save env = ["devstation"] instead, and on the MacBook Air, env = ["lightshell"]. See the devstation guide. On a main Mac, setup then clones fleet, after it uploads the SSH key to GitHub. Run mise run fleet:apply <host> in ~/code/personal/fleet after setup.

A devstation gets its fleet folder from a main Mac. After setup and the GitHub login (./bin/auth-setup), clone fleet into ~/code/personal/fleet on the devstation, add its host folder in fleet on the main Mac, and run mise run fleet:update <host> there. Until then the devstation has no agent rules, and nasbox keeps the Codex sandbox on, which fails on its kernel.

Run setup as your normal user, not with sudo. If Git or setup opens the Command Line Tools installer, finish it and retry the command.

Each phase asks one time for your password near its start, or two times for Touch ID. Setup then installs a temporary sudoers file at /etc/sudoers.d/dotfiles-setup, so all your processes share one sudo timestamp. sudo needs two authentications for this: one to install the file and one to create the shared timestamp. bin/sudo-grant reads the password one time and gives it to both calls. Later steps, and a coding agent shell without a terminal, can then use sudo without a prompt. The timestamp expires after 30 minutes without a sudo command. Setup removes the file when it exits, also after a failure or Ctrl-C. Preflight reports a file that a killed run left behind. Set DOTFILES_SKIP_SUDO_GRANT=1 to skip the grant. Later sudo steps then ask in the terminal.

The first phase installs the foundation tools: Homebrew, standalone mise, an isolated GitHub CLI, Codex CLI, and Claude Code. On every role except lightshell, it also installs Cursor Agent and OpenCode v2. It also installs one app, Raycast, and changes an attribute of it, so that macOS shows the App Management prompt in this phase and not in the middle of the app installs. Then it stops:

  1. Sign in to the App Store app.
  2. In System Settings > Privacy & Security > App Management, allow the terminal app that runs setup. Approve access when macOS asks.
  3. Quit and reopen that terminal app, then continue:
./bin/setup --continue

This flag confirms the manual step. Setup cannot check permissions or the terminal restart. Some apps ask for consent only after they install.

The continuation checks the foundations again, logs in to GitHub, installs packages, offers restores, and applies configuration. Pi installs here, after mise provides Node and npm. GitHub API access gates the large mise install. An SSH failure alone does not block it. The mobile step runs after every interactive step and before telemetry. It installs Xcode from the App Store without an Apple ID prompt. It also installs the Android SDK packages in android-sdk.txt into ~/Library/Android/sdk and accepts their licenses, so command-line Android builds need no Android Studio step.

Setup exports the telemetry opt-outs in telemetry.sh before installers run. A login job, which mise installs from mise.macos.toml, sets the same values for GUI apps. Reopen apps after setup. ./bin/configure-telemetry [--dry-run] applies them again. The telemetry guide lists every control, the manual settings, and the tools without an opt-out.

Option Effect
--dry-run Run the preflight check and write private logs. List the other steps without running them. Add --continue to preview that phase.
--allow-macos-beta Continue on a macOS beta build. Off by default. A pending macOS update and a prerelease Xcode still stop setup.
--skip-mobile-dev Skip Xcode, iOS support, Android Studio, the Android SDK, and apps/mobile.Brewfile. On Linux, skip the Android SDK. Mobile tools in the devhost mise list still install.

bin/setup lists the steps in order, and they run one at a time. The foundation steps are required: preflight, the Command Line Tools, sudo and its keepalive, Homebrew and its environment, mise, the GitHub CLI, the links, and the Brewfile preparation (brewfiles). On Linux, the system packages are required too. In the first macOS phase, so are the agent CLIs and the permission handoff. When a required step fails, setup stops and records the later steps as blocked. The other steps are marked --optional. Each one checks what it needs, records its failure, and lets the run go on. For example, the mise inventory runs only after the GitHub check passes. The telemetry step runs even after a failure.

Set up a Linux host

Setup also runs on Debian and Ubuntu, for example the NAS container in remote development. Run it as your normal user. It needs sudo for apt and the login shell. A container selects the container role by itself. Another Linux host saves env = ["devstation"] first. Then add its fleet folder as for a devstation Mac.

mkdir -p ~/code/personal
git clone https://github.com/gabimoncha/dotfiles.git ~/code/personal/dotfiles
cd ~/code/personal/dotfiles
./bin/setup --dry-run
./bin/setup

Linux runs every step in one run. It has no App Store or restart step.

  1. bin/linux-prerequisites installs Ruby, Git, and curl with apt. Setup's diagnostics run on /usr/bin/ruby, as they do on macOS.
  2. mise installs the system packages in mise.linux.toml and the role files, and makes zsh the login shell.
  3. Setup installs the runtime tools, the agent CLIs, and T3 (apps/standalone.tsv), then links the shared files.
  4. The mobile step installs the Android SDK packages in android-sdk.txt into ~/Android/Sdk on x86_64. The JDK is Zulu 17, the java tool of mise, as on the Mac. --skip-mobile-dev skips this step.

Tools marked os = "macos" in configs/mise/config/config.toml and config.devhost.toml stay on the Mac. Tools for one role are in configs/mise/config/config.<role>.toml. Entries in mise.macos.toml do not load on Linux.

fleet renders the agent rules into ~/.codex/AGENTS.md and ~/.claude/CLAUDE.md on each development host. On nasbox, fleet also turns off the Codex sandbox, because its kernel cannot start it. On other hosts, configs/codex/defaults.toml sets workspace-write only when ~/.codex/config.toml has no sandbox value. ./bin/save-settings does not save the sandbox value.

DOTFILES_SKIP_GITHUB_AUTH=1 ./bin/setup defers the GitHub login. mise then installs tools without a GitHub token. Log in later with ./bin/auth-setup. The login asks for the workflow scope, so Git can push changes to GitHub Actions files. On an existing login, ./bin/auth-setup --api-only adds a missing scope. Linux uses Git over HTTPS with the GitHub CLI token, not an SSH key. Agents on a headless host start without an SSH agent and cannot unlock a protected key. So Linux hosts do not sign their commits. On a Mac, ./bin/auth-setup also uploads the SSH key as a signing key, and Git signs every commit with it. It uploads the key only when the GitHub CLI account owns the commit email, so the MacBook Air's key goes to rbrtpop.

Manual completion

  • Sign in to Apple, the App Store, iCloud, and the apps you use.
  • Download one provider's backup copies in Finder. The first checklist reads metadata. It does not download the files or prove that the backup is valid.
  • Grant app privacy access by hand when a feature needs it. Setup does not grant or check consent, and app settings and backups do not carry macOS permission grants.
  • Complete the restore prompts. Raycast import needs its GUI and password. Existing Codex state is kept for comparison. See MACKUP.md.
  • Complete the first launch of Android Studio, OrbStack, and the vendor apps marked manual in the app manifest.
  • Setup installs the Android SDK packages for command-line builds and the Android Emulator, which the T3 Code device hub needs. To run an emulator, install a system image with sdkmanager or in Android Studio, and create a virtual device.

Missing optional restore inputs do not fail a run. A restore that runs and fails does. A failed, blocked, or deferred step makes setup return nonzero. A step that you turn off, with --skip-mobile-dev or a DOTFILES_SKIP_* setting, does not. ./bin/app-state-doctor checks the managed app links, tmux plugins, Raycast, Spotlight hotkeys, and Touch ID. It is not a complete installation test.

Recovery

To let a coding agent repair a failed step, ask it to follow the setup repair guide. If preparation failed before the permission step, rerun ./bin/setup. After that step, use ./bin/setup --continue. Setup reuses existing links and installs. Homebrew installs use --no-upgrade. Setup replaces a mise older than the pin, and it does not update a newer one. Between setup runs, mise updates itself before an interactive command, because the runtime config sets self_update.auto. It skips that check in non-interactive sessions, so harness update also runs mise self-update. The four-day release delay does not apply to mise itself. Setup turns self-update off for its own run.

Each run prints its private .local/setup-runs/<run-id>/ folder:

  • summary.txt: one result line for each step, with a repair hint. Helpers add their own lines, such as one for each restore.
  • setup.log: the output of the steps, with tokens removed. Steps that ask for a password or a login print to the terminal only. So do the steps that run in the setup shell, such as brewfiles.

Git ignores the whole .local/ folder. Each new run keeps the latest three run folders and removes older ones. A run that is still active stays until a later run can remove it. Normal runs, dry runs, and helper commands share this limit. Copy logs elsewhere before more runs if you need them longer. Authentication output is omitted. Review logs before you share them.

Command Use
./bin/preflight Check macOS updates, the repository prerequisites, the mise keys, and the lock sidecars.
./bin/repo-mise run check Run the repository checks: git diff --check, the task checks, and ./bin/preflight.
./bin/repo-mise doctor project Check the installed tools, mobile readiness on a Mac, and app state on a main Mac.
./bin/repo-mise bootstrap status Compare this machine with the checkouts, files, preferences, and login jobs in the mise files.
./bin/link-dotfiles [--status | --diff | --dry-run] Apply, check, or preview the managed files.
./bin/repo-mise bootstrap repos status Check the Oh My Zsh, plugin, and TPM checkouts.
./macos/defaults.sh Apply macOS preferences, input sources, the Dock, and display sleep.
./bin/github-bootstrap install-gh Repair the isolated GitHub CLI install.
./bin/auth-setup --api-only Repair the GitHub API login.
./bin/auth-setup --ssh-only Repair the Git identity and SSH access.
./bin/auth-setup --git-only Linux: repair the Git identity and Git over HTTPS.
./bin/auth-setup --verify-mise Check the direct credential helper.
./bin/repo-mise run check:tools Check that the npm tools with platform packages start. ./bin/repo-mise doctor project also checks for missing tools.
./bin/install-apps [--dry-run] Retry or preview the app manifest.
./bin/install-standalone status Report the vendor-installed tools in apps/standalone.tsv.
./bin/install-standalone [NAME...] Install or repair those tools. --dry-run previews.
./bin/install-steam [--dry-run] Install Valve's verified ARM64 Steam bootstrapper.
./bin/check-mobile-ready Check Xcode, iOS, Android Studio, the Android SDK and adb, and apps/mobile.Brewfile. On Linux, check only the Android SDK, the JDK, and adb.
./bin/install-mobile-dev [--dry-run] Install or repair Xcode, iOS support, Android Studio, the Android SDK, and the mobile formulae. On Linux, install only the Android SDK.
./bin/sudo-grant --check Report a leftover sudo grant. --enable and --disable change it.
./bin/setup-tmux Install missing TPM plugins and reload a running server.
./bin/repo-mise bootstrap macos defaults status Compare the macOS preferences, Dock apps, and login items with the mise files.
./bin/configure-telemetry [--dry-run] Apply the telemetry opt-outs to installed tools.
./bin/load-login-jobs [--dry-run] Mac: write and load the login jobs of [bootstrap.macos.launchd.agents] in the mise files. ./bin/configure-telemetry runs it too.
./bin/container-daemons status Linux container: check the T3 and tokenburnmarket daemons. logs <name> and restart <name> read and restart one.
./bin/configure-screenshots Repair the PNG destination at ~/Screenshots.
./bin/finder-sidebar-favorites Retry the code, work, personal, and screenshots favorites.
./bin/setup-tokenburnmarket [--dry-run] Sign in to tokenburnmarket and install its sync daemon. A Linux host without systemd runs it as a mise daemon (mise.container.toml). A connected host with a current daemon is not changed. DOTFILES_SKIP_TOKENBURNMARKET=1 skips the setup step.
./bin/configure-sudo-touch-id --check Inspect Touch ID for sudo. --enable and --disable change it.

The version probes of the standalone tools stop after 10 seconds. Set DOTFILES_TOOL_CHECK_TIMEOUT_SECONDS to change that. The macOS update probe stops after 120 seconds (DOTFILES_SOFTWAREUPDATE_TIMEOUT_SECONDS).

Set DOTFILES_SKIP_SUDO_TOUCH_ID=1 to skip Touch ID setup, or DOTFILES_SKIP_MACOS_DEFAULTS=1 to skip the general defaults. Screenshot repair still runs. The general defaults run once per ~/.macos-defaults-applied stamp.

Setup installs Xcode with sudo mas get 497799835. The App Store offers only public releases and updates Xcode automatically, unless you turn that off in the App Store settings. If the App Store cannot install Xcode, download the public .xip from Apple Developer Downloads, then run:

xcodes install <public-version> --path "/path/to/Xcode.xip" --select --experimental-unxip
./bin/setup --continue

A passed screenshot step proves that the preferences were written, not that captures work. Take a screenshot with Shift-Command-3 or 4 and check the file. If needed, select ~/Screenshots in Shift-Command-5 > Options > Save to.

Known limits

  • The general defaults turn off display sleep on battery and on power, except on the MacBook Air, which keeps the macOS display sleep.
  • If Homebrew reports the Xcode app as too old, setup skips borders and does not retry it after Xcode installs. Rerun ./bin/setup --continue.
  • A direct ./bin/install-mobile-dev run skips the macOS update check. It rejects only a prerelease Xcode.
  • Raycast backup can create missing provider folders. Confirm the cloud sync. The combined backup can exit zero when neither provider is ready.
  • Finder failures can report success. Check the sidebar.
  • The optional Postgres 18 Compose service uses a legacy data-volume target.

No script proves a fresh-Mac install. See the manual checks.

Packages and tools

Add packages in this order: the Mac App Store, then mise, then Homebrew. The agent CLIs and mise itself are vendor-installed exceptions in apps/standalone.tsv. Put an app for every Mac, the Air too, in the root Brewfile, an app for the development Macs in apps/devhost.Brewfile, and an app for one role in apps/<role>.Brewfile. On a main Mac, the T3 nightly desktop app is a Homebrew cask, and Hex and Scrawl come from their vendor taps, anomalyco/tap and kitlangton/tap. A devstation runs the T3 server from apps/standalone.tsv instead. vscode "publisher.extension" lines in the Brewfile select Cursor extensions.

~/.config/mise links to configs/mise/config/, the global mise config folder. mise install installs the versions in its mise.lock, and mise up writes newer versions into that tracked file. To add a tool for every host, add it to configs/mise/config/config.toml. To add a development tool, add it to config.devhost.toml, which locks into mise.devhost.lock. Then run ./bin/repo-mise --global lock --global in the checkout that you edit, with a development role such as DOTFILES_PROFILE=mainhost, and commit the config, the lockfiles, and the sidecar folder configs/mise/config/locks/. The sidecars hold the locked dependencies of the pipx tools. An older lockfile moves the tools back to its versions.

A tool for one role goes in configs/mise/config/config.<role>.toml, for example Ollama and Mackup for mainhost. The folder's miserc.local.toml links to this repository's .miserc.local.toml, so mise sets its environments to the layers and the role, and loads those files in every folder. mise keeps their versions in mise.devhost.lock and mise.<role>.lock, so another role never prunes them. A role without tools of its own, such as devstation and container, has no config file here. config.lightshell.toml holds settings only. A tool that only one machine needs still goes in its role, because fleet host folders are mise projects and their tools work only inside them.

After an interactive mise install or mise up, and after mise run dot:update, ./bin/save-lock commits a changed lockfile and pushes it to main, so the other machines get the same versions at their next pull. The commit holds only the lock files that HEAD already tracks and their pipx sidecar files. The script stops without a commit when a lock file is new or when the lock paths have staged changes, so commit a lock layout change yourself. The script does nothing on another branch. It stops when origin/main changed the lock too, and prints the commands that take that lock. DOTFILES_SAVE_LOCK=0 turns it off. Every lock entry has a checksum for both platforms, so a plain mise install leaves the lock unchanged.

./bin/install-standalone installs and repairs the vendor-installed tools and reuses healthy installs. Run it for one tool, for example ./bin/install-standalone codex. harness update updates the installed tools in parallel and reports every failure. --dry-run previews the commands, and --installed-only skips absent tools. It runs mise self-update first, then the other updates. It skips the Linux T3 server, which the T3 app updates. Each update stops after 30 seconds without new output (DOTFILES_HARNESS_IDLE_TIMEOUT_SECONDS). The interactive zsh mise helper runs harness update --installed-only after a successful mise install or mise up. Setup installs missing or broken agents. It does not update healthy ones.

The T3 Code nightly app updates itself and its t3 launcher. Setup links Homebrew's bin/t3 to ~/.t3/bin/t3. Open the app once to create the launcher. ./bin/link-t3-command [--dry-run] repairs the link and keeps any other t3 command. To adopt an existing app bundle, run brew install --cask --adopt t3-code@nightly.

CLIProxyAPI runs on the NAS. fleet holds its Compose file. Its management UI owns provider logins and account selection. Codex uses OpenAI subscriptions, and Claude Code uses Anthropic subscriptions. Private client settings select the NAS endpoint through Tailscale. Normal dotfiles setup does not deploy the server. See NAS agent proxy.

bin/install-steam replaces the Intel-only Homebrew cask with Valve's ARM64 bootstrapper. It checks the checksum, the ARM64 code, Valve's signature, and Gatekeeper before it replaces the app, and it keeps the old app under ~/.dotfiles-backups/. --verify-download checks a download without installing it, and --check checks the installed app. Quit Steam before a replacement. See DECISIONS.md.

Setup adds the apps in [bootstrap.settings.macos.login_items] of mise.macos.toml, mise.devhost.toml, and the role file as login items. It leaves other login items alone. On the development Macs, it also sets the Dock apps in [bootstrap.settings.macos.dock] of mise.devhost.toml, in that order. Run ./bin/repo-mise bootstrap macos defaults status to compare this Mac with them. Privacy permissions are manual for every app.

SHELL.md covers local secrets, GitHub account routing, command helpers, package runners, and Android paths. SECURITY.md lists the state that must stay out of Git.

Before you commit, run the checks in the Validation section of AGENTS.md.

About

No description, website, or topics provided.

Resources

Security policy

Stars

7 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages