Skip to Content
CLI ReferenceOrganization Commands

Organization Commands

Norrix uses organizations to group users, builds, and resources. These commands help you manage your organization context.

norrix orgs list

List all organizations you belong to.

Synopsis

norrix orgs list

Output

Lists organizations with:

  • Organization ID
  • Organization name
  • Your role (Owner, Admin, Member)

Example

norrix orgs list

Output:

Organizations: org_abc123 Acme Corp (Owner) org_def456 Beta Team (Member)

norrix orgs select

Interactively select the default organization for CLI operations.

Synopsis

norrix orgs select

Behavior

  1. Fetches your organization memberships
  2. Displays an interactive selection prompt
  3. Saves the selection for the current environment (prod/dev)

Example

norrix orgs select

The selected organization is used for all subsequent commands unless overridden with --org.


norrix orgs current

Show the currently selected organization for the current environment.

Synopsis

norrix orgs current

Output

Displays:

  • Organization ID
  • Organization name
  • Current environment (prod/dev)

Example

norrix orgs current

Output:

Current organization: Acme Corp (org_abc123) Environment: prod

Per-Command Override

Any command that accepts --org will use that organization instead of the default:

norrix build ios release --org org_def456

This is useful for:

  • CI/CD pipelines
  • Working with multiple organizations
  • Testing across environments

Environment-Specific Selection

Organization selection is stored separately for each environment:

# Set default org for production norrix orgs select # Set default org for development norrix --dev orgs select

The CLI remembers different selections for prod and dev environments.