mise bootstrap macos command-line-tools
- Usage:
mise bootstrap macos command-line-tools <SUBCOMMAND> - Effect: read-only
- Source code:
src/cli/bootstrap.rs
Install the Xcode Command Line Tools without the GUI dialog
With command_line_tools = true in [bootstrap.macos], mise bootstrap installs the tools before system packages when they are missing. These commands check or install them on their own, whatever the config says.
The tools count as installed when xcode-select -p succeeds and /Library/Developer/CommandLineTools/usr/bin/git exists. mise installs them with softwareupdate, as root, so it works over SSH where xcode-select --install would open a dialog nobody can click.
Flags
-h --help— Print help
Subcommands
mise bootstrap macos command-line-tools apply [-n --dry-run]mise bootstrap macos command-line-tools status [-J --json] [--missing]