Skip to main content
Configure GitHub CLI and Git authentication on a Devbox using the token from your local GitHub CLI. The command runs gh auth token locally, activates the selected Devbox if necessary, passes the token to gh auth login --with-token on the Devbox, and runs gh auth setup-git. Install gh and authenticate locally before running it.

Usage

Examples

Configure a named Devbox

Output
If you omit the name, the CLI prompts you to select a Devbox.

Options

boolean
default:"false"
Include Devboxes created by other users when selecting a target.

Create a Devbox

Use --setup_github to perform the same setup while creating a Devbox.

Manage Devboxes

Learn about common Devbox management tasks.
Last modified on August 28, 2026