Skip to main content

Qbit configuration

Qbit reads project configuration from the current directory. It checks qbit.yml, qbit.yaml, then qbit.toml, and uses the first file found.

YAML​

scripts:
dev: "npm run dev"
verify:
- "cargo test"
- "cargo build --release"

install:
node: "OpenJS.NodeJS"
python:
version: "3.12"
identifiers:
winget: "Python.Python.3.12"
brew: "python@3.12"

TOML​

[scripts]
dev = "npm run dev"
verify = ["cargo test", "cargo build --release"]

[install]
node = "OpenJS.NodeJS"

[install.python]
version = "3.12"

[install.python.identifiers]
winget = "Python.Python.3.12"
brew = "python@3.12"

scripts values can be a single command or an ordered command list. install entries can be one shared identifier or a detailed version plus per-manager identifier map.

Environment variables​

VariablePurpose
QBIT_PACKAGE_MANAGERForce the native manager used by qbit install
QBIT_JS_PMForce the JavaScript package manager
QBIT_UPGRADE_REPOOverride the upgrade repository for testing/custom distribution