foundry alias

Create short aliases for Foundry commands. Each alias writes a shim binary so you can invoke it directly from your shell.

Subcommands

SubcommandDescription
listList configured aliases
set <name> <command…>Create or update an alias and write its shim
remove <name>Remove an alias and its shim

Options

FlagDescription
--bin-dirWhere to write (or find) the shim. Defaults to the packaged dir, the env Scripts dir, or LOCALAPPDATA.

Examples

foundry alias set fr run          # 'fr' → 'foundry run'
foundry alias set fd run dev      # 'fd' → 'foundry run dev'
foundry alias list
foundry alias remove fd