- Set up a reproducible Python environment for a project
- Share your environment with collaborators
- Install a pre-configured environment (e.g., qBraid SDK, Qiskit)
- Publish an environment to the public catalog
--help: Show this message and exit.
create: Create a new qBraid environment.uninstall: Remove a local environment.delete: (Admin) Delete a cloud environment.list: List installed qBraid environments.activate: Activate qBraid environment.available: List installable environments.info: Show environment details.install: Install an environment.upload: Upload an environment.health: Check the health of an environment.repair: Repair a broken environment.pythons: List available Python versions.config: View or update environment configuration.publish: Manage environment publishing.share: Manage environment sharing via share codes.groups: Manage environment groups.registry: Manage the local environment registry.
qbraid envs create
Create a new qBraid environment. Run without options for an interactive walkthrough, or provide options via flags. Usage:-n, --name <str>: Name of the environment to create-d, --description <str>: Short description of the environment-l, --logo <str>: Company name for logo (e.g., ‘ibm’, ‘google’)-r, --requirements <str>: Path to requirements.txt file-k, --kernel-name <str>: Display name for Jupyter kernel-t, --tags <str>: Comma-separated tags-y, --yes: Automatically answer ‘yes’ to all prompts--help: Show this message and exit.
qbraid envs uninstall
Remove a local environment. By default this removes only the local copy — the cloud environment is preserved so you can reinstall it later. Pass--delete-cloud to also
retire the cloud environment (requires ownership).
Usage:
-n, --name <str>: Name of the environment to remove [required]-c, --delete-cloud: Also delete the environment from qBraid cloud (requires ownership). By default only the local copy is removed and the cloud slug is preserved, so you can reinstall it later.-y, --yes: Automatically answer ‘yes’ to all prompts--help: Show this message and exit.
qbraid envs delete
(Admin) Delete a cloud environment. Removes the DB entry and storage files. Usage:slug: Slug of the cloud environment to delete [required]
-y, --yes: Automatically answer ‘yes’ to all prompts--help: Show this message and exit.
qbraid envs list
List installed qBraid environments. Usage:--help: Show this message and exit.
qbraid envs activate
Activate qBraid environment. NOTE: Currently only works on qBraid Lab platform, and select few other OS types. Usage:name: Name of the environment. Values from ‘qbraid envs list’. [required]
--help: Show this message and exit.
qbraid envs available
List installable environments. Shows available pre-built environments for installation. Usage:-p, --page <int>: Page number for pagination (default: 1)-l, --limit <int>: Number of environments per page (default: 20)--help: Show this message and exit.
qbraid envs info
Show environment details. Get detailed information about an environment. Accepts either a local env_id or a cloud slug. Shows information from both local registry and cloud catalog when available. Examples:identifier: Environment identifier (env_id or slug) [required]
--help: Show this message and exit.
qbraid envs install
Install an environment. Installs a pre-built environment from cloud storage. If the environment was built for a different platform or requires a Python version not available on your system, you’ll be offered options to either create a similar local environment or proceed with the download anyway. Usage:env_slug: Environment slug to install (from ‘qbraid envs available’) [required]
-t, --temp: Install as temporary environment (faster, non-persistent)--target <str>: Custom target directory (defaults to ~/.qbraid/environments)-y, --yes: Automatically proceed with default options without prompting--help: Show this message and exit.
qbraid envs upload
Upload an environment. Upload environment to qBraid cloud storage (private by default). This uploads your local environment to make it available for sharing with specific users. Use ‘qbraid envs publish request’ after upload to request public visibility. Examples:identifier: Environment name (if unique) or env_id to upload [required]
-s, --slug <str>: Re-upload to existing slug (replaces previous upload)-g, --group <str>: Environment group to add this environment to-o, --overwrite: Overwrite existing uploaded environment-y, --yes: Skip confirmation prompts--help: Show this message and exit.
qbraid envs health
Check the health of an environment. This performs comprehensive checks on the virtual environment:- Python symlinks and executables
- pyvenv.cfg configuration
- Activate scripts
- Kernel configuration (if present)
identifier: Environment name or env_id to check [required]
--help: Show this message and exit.
qbraid envs repair
Repair a broken environment. This attempts to fix common issues:- Broken Python symlinks
- Invalid pyvenv.cfg paths
- Broken activate scripts
- Invalid kernel.json paths
identifier: Environment name or env_id to repair [required]
-a, --auto-install: Automatically install Python via uv if needed--help: Show this message and exit.
qbraid envs pythons
List available Python versions. Shows all Python installations found on the system, including:- System Python (PATH)
- uv-managed Python
- Conda environments
- Homebrew (macOS)
- pyenv installations
--help: Show this message and exit.
qbraid envs config
View or update environment configuration. Without flags, prints the current config. With flags, applies the updates and prints the new state. Multiple update flags can be combined in one call. Examples:environment: Environment name, env_id, or slug [required]
-d, --description <str>: Update environment description--tags <str>: Replace tags (comma-separated, use ” to clear)--add-tag <str>: Append a tag (repeatable)--remove-tag <str>: Remove a tag (repeatable)--kernel-name <str>: Update Jupyter kernel display name--system-site-packages <str>: Enable/disable inheriting packages from parent Python (true/false)--help: Show this message and exit.
qbraid envs publish
Manage environment publishing. Usage:--help: Show this message and exit.
request: Request to publish environment.status: Check publish status.cancel: Cancel a pending publish request.review: (Admin) Mark as under review.approve: (Admin) Approve and publish.deny: (Admin) Deny a publish request.
qbraid envs publish request
Request to publish environment. Submits your uploaded environment to the public catalog for admin review. Once approved, it will be publicly visible and installable by all users. The environment must be uploaded first with ‘qbraid envs upload’. Examples:slug: Environment slug (from upload) [required]
--help: Show this message and exit.
qbraid envs publish status
Check publish status. Check the publishing status of an environment. Status values:- none: Not submitted for publishing
- requested: Waiting for admin review
- pending: Under admin review
- approved: Published to public catalog
- denied: Publish request was denied
slug: Environment slug to check [required]
--help: Show this message and exit.
qbraid envs publish cancel
Cancel a pending publish request. This withdraws your publish request before it’s approved. You can resubmit later with ‘qbraid envs publish request’. Examples:slug: Environment slug [required]
--help: Show this message and exit.
qbraid envs publish review
(Admin) Mark as under review. Transitions the environment from ‘requested’ to ‘pending’ status, indicating an admin is actively reviewing it. Examples:slug: Environment slug to review [required]
--help: Show this message and exit.
qbraid envs publish approve
(Admin) Approve and publish. Approve and publish an environment to the public catalog. This makes the environment publicly visible and installable by all users. After approval, you’ll be prompted to add the environment to a group if it’s not already in one. Examples:slug: Environment slug to approve [required]
-g, --group <str>: Add environment to this group after approval--no-group: Skip the group assignment prompt--help: Show this message and exit.
qbraid envs publish deny
(Admin) Deny a publish request. The owner will be notified with the denial reason. Examples:slug: Environment slug to deny [required]
-m, --message <str>: Reason for denial (sent to owner)--help: Show this message and exit.
qbraid envs share
Manage environment sharing via share codes. Usage:--help: Show this message and exit.
list: List users with access.create-code: Generate a share code.delete-code: Delete the share code for an environment.redeem-code: Redeem a share code.
qbraid envs share list
List users with access. Shows all users with read or write access to the specified environment. Examples:slug: Environment slug to check [required]
--help: Show this message and exit.
qbraid envs share create-code
Generate a share code. Creates an 8-character code that others can redeem with ‘qbraid envs share redeem-code’ to gain read access to your environment. Only the owner can generate codes. Generating a new code invalidates any previous code for this environment. Examples:slug: Environment slug to generate share code for [required]
--help: Show this message and exit.
qbraid envs share delete-code
Delete the share code for an environment. Removes the share code, preventing new users from redeeming it. Users who have already redeemed the code keep their access. Examples:slug: Environment slug to delete share code for [required]
--help: Show this message and exit.
qbraid envs share redeem-code
Redeem a share code. Redeem a share code to gain access to an environment. Enter a share code received from an environment owner to gain read access. The code is case-insensitive. Examples:code: Share code to redeem [required]
--help: Show this message and exit.
qbraid envs groups
Manage environment groups. Usage:--help: Show this message and exit.
list: List all environment groups.info: Show environment group details.create: (Admin) Create a new environment group.update: (Admin) Update an environment group.delete: (Admin) Delete an environment group.
qbraid envs groups list
List all environment groups. Environment groups are collections of related environments. Use the group slug when uploading an environment to add it to a group. Examples:--help: Show this message and exit.
qbraid envs groups info
Show environment group details. Examples:group_slug: Group slug to get details for [required]
--help: Show this message and exit.
qbraid envs groups create
(Admin) Create a new environment group. Environment groups are collections of related environments, typically different versions of the same package or tool. Examples:display_name: Display name for the group (1-100 chars) [required]
-d, --description <str>: Group description (max 500 chars)-t, --tags <str>: Comma-separated tags-c, --category <str>: Category: ‘package’ or ‘subject-matter’-v, --visibility <str>: Visibility: ‘private’ or ‘public’-e, --envs <str>: Comma-separated environment slugs to include-l, --latest <str>: Environment slug to set as the current version--help: Show this message and exit.
qbraid envs groups update
(Admin) Update an environment group. Use —add and —remove for delta updates to the environment list. Use —latest to set which environment is the “current” version. Examples:group_slug: Slug of the group to update [required]
-n, --name <str>: New display name-d, --description <str>: New description-a, --add <str>: Comma-separated environment slugs to add-r, --remove <str>: Comma-separated environment slugs to remove-l, --latest <str>: Set the current version environment slug-c, --category <str>: Category: ‘package’ or ‘subject-matter’-v, --visibility <str>: Visibility: ‘private’ or ‘public’--help: Show this message and exit.
qbraid envs groups delete
(Admin) Delete an environment group. This removes the group but does not delete the environments in it. Examples:group_slug: Slug of the group to delete [required]
-y, --yes: Skip confirmation prompt--help: Show this message and exit.
qbraid envs registry
Manage the local environment registry. Usage:--help: Show this message and exit.
add: Register an external environment.remove: Unregister an external environment.sync: Sync the environment registry.
qbraid envs registry add
Register an external environment. Allows you to use existing Python environments (conda, venv, etc.) with qBraid commands like kernel management and activation. Examples:path: [required]
-a, --alias <str>: Alias for the environment-n, --name <str>: Name/slug for the environment-y, --yes--help: Show this message and exit.
qbraid envs registry remove
Unregister an external environment. This only removes the environment from qBraid’s registry. The actual environment files are NOT deleted. Usage:name: Name or alias of environment to unregister [required]
-y, --yes--help: Show this message and exit.
qbraid envs registry sync
Sync the environment registry. This will:- Remove registry entries for deleted environments
- Auto-discover new environments in default paths
- Verify all registered paths still exist
--help: Show this message and exit.

