Skip to main content

init

Initialize the current directory as a Synthetiq workspace:
synthetiq init
Requires an active login session. The workspace is tied to the authenticated user and organization, with its state stored at ~/.synthetiq/<userId>/<orgId>/. Creates the standard workspace structure in the current directory and sets up dev credentials:
./
├── _apps/                    # App projects
├── _mcp/                     # MCP service projects
├── _service_clients/         # Generated service clients
└── .synthetiq/               # Workspace configuration

login

Authenticate the CLI with your Synthetiq account:
synthetiq login
Opens your default browser for OAuth authentication. Once authenticated, the CLI establishes the organization context and determines the workspace directory at ~/.synthetiq/<userId>/<orgId>/.

logout

Clear stored credentials:
synthetiq logout

whoami

Display the current authenticated user and organization:
synthetiq whoami
User:          you@example.com
Organization:  Your Org (your-org)