CLI Reference
dbc
Usage
Commands
- dbc search
Search for a driver to install
- dbc install
Install a driver
- dbc uninstall
Uninstall a driver
- dbc list
List installed drivers
- dbc info
Get information about a driver
- dbc docs
Open driver documentation in a web browser
- dbc init
Create a driver list file
- dbc add
Add a driver to the driver list
- dbc remove
Remove a driver from the driver list
- dbc sync
Install the drivers from the driver list
- dbc auth
Manage driver registry credentials
search
Search for a driver to install.
Usage
Arguments
PATTERN-
Optional. A pattern to restrict the list of drivers returned by. Driver names are matched by wildcard so substrings may be used.
Options
--jsonSINCE v0.2.0-
Print output as JSON instead of plaintext
--preSINCE v0.2.0-
Include pre-release drivers and versions (hidden by default unless already installed)
--verbose,-v-
Enable verbose output
--quiet,-qSINCE v0.2.0-
Suppress all output
install
Install a driver.
To install multiple versions of the same driver on the same system, it's recommend to use ADBC_DRIVER_PATH. See Config Level.
Usage
Arguments
DRIVER-
Name of the driver to install. This can be a plain driver name like
bigquery, a driver name with a version constraint likebigquery=1.0.0orbigquery>=1,<2, or a path to a local driver archive.For the full version-constraint syntax and more examples, see Installing Drivers: Version Constraints. For local archives, see Installing Drivers: From Local Archive.
Options
--jsonSINCE v0.2.0-
Print output as JSON instead of plaintext
--level LEVEL,-l LEVEL-
The configuration level to install the driver to (
user, orsystem). See Config Level. --no-verify-
Allow installation of drivers without a signature file
--preSINCE v0.2.0-
Allow implicit installation of pre-release versions
--quiet,-qSINCE v0.2.0-
Suppress all output
uninstall
Uninstall a driver.
Usage
Arguments
DRIVER-
Name of the driver to uninstall.
Options
--jsonSINCE v0.2.0-
Print output as JSON instead of plaintext
--level LEVEL,-l LEVEL-
The configuration level to uninstall the driver from (
user, orsystem). See Config Level. --quiet,-qSINCE v0.2.0-
Suppress all output
list
List installed drivers across every configuration level (system, user, and from environment variables). Use --level to restrict the output to drivers installed at a single level.
Usage
Options
--json-
Print output as JSON instead of plaintext
--level LEVEL,-l LEVEL-
Only list drivers installed at the given configuration level (
user, orsystem). See Config Level. --quiet,-q-
Suppress all output
init
Create a driver list file.
Usage
Arguments
PATH-
Optional. A path to create a driver list under. Defaults to the current working directory.
Options
--quiet,-qSINCE v0.2.0-
Suppress all output
add
Add one or more drivers to the current driver list.
Usage
Arguments
DRIVER-
Name of one or more drivers to add. Can be a short driver name or a driver name with version requirement. Examples:
bigquery,bigquery=1.0.0,bigquery>1.
Options
--path FILE,-p FILE-
Driver list to add to [default: ./dbc.toml]
--preSINCE v0.2.0-
Allow pre-release versions implicitly
--quiet,-qSINCE v0.2.0-
Suppress all output
remove
Remove a driver from the current driver list.
Usage
Arguments
DRIVER-
Name of the driver to remove.
Options
--path FILE,-p FILE-
Driver list to remove from [default: ./dbc.toml]
--quiet,-qSINCE v0.2.0-
Suppress all output
sync
Install drivers from a driver list.
Also creates a dbc.lock file next to the driver list.
If dbc.lock exists, the versions and archive hashes recorded in it are used when this subcommand is run.
Drivers are installed to the same location as install, replacing any other installed version of the same driver. See Lockfile for how to isolate drivers per project.
Usage
Options
--path FILE,-p FILE-
Path to a driver list file to sync. Defaults to
dbc.tomlin the current working directory. --level LEVEL,-l LEVEL-
The configuration level to install drivers to (
user, orsystem). See Config Level. --no-verify-
Allow installation of drivers without a signature file
--quiet,-qSINCE v0.2.0-
Suppress all output
info
Get information about a driver. Shows information about the latest version of the driver with the given name.
Usage
Arguments
DRIVER-
Name of the driver to get information for.
Options
--jsonSINCE v0.2.0-
Print output as JSON instead of plaintext
--quiet,-qSINCE v0.2.0-
Suppress all output
docs
Open driver documentation in a web browser. If no driver is specified, opens the general dbc documentation. If a driver name is provided, opens the documentation for that specific driver.
Usage
Arguments
DRIVER-
Optional. Name of the driver to open documentation for. If omitted, opens the general dbc documentation page.
Options
--no-open-
Print the documentation URL instead of opening it in a browser
--quiet,-qSINCE v0.2.0-
Suppress all output
auth
Usage
Subcommands
login
Arguments
REGISTRYURL-
Optional. URL of the driver registry to authenticate with. Defaults to https://dbc-cdn-private.columnar.tech/.
Options
--clientid CLIENTID-
OAuth Client ID (can also be set via
DBC_OAUTH_CLIENT_ID) --api-key API-KEY-
Authenticate using an API key instead of OAuth (use '-' to read from stdin)
logout
Arguments
REGISTRYURL-
Optional. URL of the driver registry to log out from. Defaults to https://dbc-cdn-private.columnar.tech/.
Options
--purge-
Remove all local auth credentials for dbc
Warning
ADBC drivers that require a license (i.e., private drivers) will stop working after you run this command. You can re-download your license with
dbc auth login. See Downloading Your License.
license
Subcommands
install
Install a license file to the dbc credentials directory.
Arguments
LICENSEPATH-
Path to the license file to install.
Options
--force-
Overwrite an existing license and skip the filename check.