rebase workspace create
Create a workspace and save it as a local profile.
Synopsis
rebase workspace create [workspace]
rebase workspace create energy-team --workspace-name "Energy Team"Behavior
rebase workspace create authenticates with the same Supabase login flow used by rebase setup, claims a Rebase handle if needed, and creates the requested workspace.
Workspace creation is gated by the Rebase API. If the account has no workspace-creation allowance (a platform invite) or has reached its limit, the command fails before anything is saved.
After the workspace is created, the command saves it as the selected local profile and writes the .rebase/config.json repository marker at the current git root (or the current directory outside a git repository); commit it so the repository always resolves to this workspace. Connect GitHub source backing separately with rebase connect github.
Options
| Option | Description |
|---|---|
[workspace] | Workspace handle to create. If omitted, the command prompts for one. |
--workspace-name, -w <name> | Workspace display name. |
--profile, -p <profile> | Local profile name to save. Defaults to default. |
--api-url, -a <url> | Rebase API URL to store for this profile. Useful for local development with port-forwarding. |
--handle <handle> | Unique Rebase user handle to claim before creating the workspace. |
--provider google|github | Supabase social auth provider. Prompts when omitted. |
--force-auth, -f | Ignore any stored Supabase session and authenticate again. |
--callback-port, -c <port> | Local Supabase OAuth callback port. Defaults to 17658. |
--auth-timeout <seconds> | Seconds to wait for the Supabase auth callback. Defaults to 300. |
--no-browser, -n | Print auth URLs instead of opening the browser. |

