Skip to main content

forest switch

Switch your active branch in your local development environment. The active branch determines which layout configuration your Development Environment uses.

Usage

Arguments

Options

Interactive selection

If you omit the branch name, the CLI presents an interactive list of available branches:

Direct switch

Provide the branch name directly to switch without the interactive prompt:
You cannot switch to the branch that is already active.

Examples

After switching

After switching branches, your Development Environment will reflect the layout of the new branch. If your local agent is running, restart it to ensure it picks up any environment variable changes.
If your Forest UI does not update after switching branches, try refreshing your browser.