Startup command
Use a startup command to arrange a project group with the Radius CLI:RADIUS_WINDOW_ID, RADIUS_GROUP_ID, and RADIUS_TAB_ID, so it can
open tabs and build splits relative to its own terminal.
Write a startup script
Follow the complete CLI guide, including resource IDs and failure handling.
Setup command
Use setup for dependencies or generated files required by a newly created worktree:Setup prepares files inside a worktree. Startup arranges the Radius group around
that worktree. Keep them separate even when both commands run during creation.
Named run commands
Named run commands appear in the terminal’s Run… menu:scripts.run is the stable script ID. name is the label
shown in Radius. If you omit the name, Radius derives one from the ID.
To hide a shared run command on one machine, add this to
.radius/settings.local.toml:
Archive command
Use archive for cleanup or validation that must finish before a worktree is removed:Script environment
All project scripts receive variables from project settings plus:RADIUS_PROJECT_ROOTRADIUS_WORKSPACE_PATHRADIUS_WORKSPACE_NAMERADIUS_DEFAULT_BRANCH

