netlify switch selects a known account by email
Introduced 2026-03-20 · score 0.97
HOW TO USE IT
When the desired account is among the known accounts, run `netlify switch --email <email>` to select it.
netlify switch --email <email>WHY THIS HELPS
Switch to a known Netlify account while maintaining a repository.
BEFORE THIS CHANGE
Use the interactive selection experience to choose an account.
REQUIREMENTS AND LIMITATIONS
- Version: 24.4.0
- --email <email>: Switch to the account matching this email address.
- The email selects an account only if it is in the list of known accounts.
FIRST-PARTY EVIDENCE
- https://github.com/netlify/cli/releases/tag/v24.4.0
- https://github.com/netlify/cli/pull/8046
- https://github.com/netlify/cli/blob/v24.4.0/docs/commands/switch.md
Check the installed version and the source before using it. Entry JSON