Command Line Interface Reference
This page contains all commands available in the dlt CLI and is generated automatically from the fully populated python argparse object of dlt.
Flags and positional commands are inherited from the parent command. Position within the command string is important. For example if you want to enable debug mode on the pipeline command, you need to add the debug flag to the base dlt command:
dlt --debug pipeline
Adding the flag after the pipeline keyword will not work.
dlt
Creates, adds, inspects and deploys dlt pipelines. Further help is available at https://dlthub.com/docs/reference/command-line-interface.
Usage
dlt [-h] [--version] [--disable-telemetry] [--enable-telemetry]
[--non-interactive] [--debug] [--no-pwd]
{workspace,telemetry,schema,profile,pipeline,init,deploy,dashboard,ai,runtime,license}
...
Show Arguments and Options
Options
-h, --help- Show this help message and exit--version- Show program's version number and exit--disable-telemetry- Disables telemetry before command is executed--enable-telemetry- Enables telemetry before command is executed--non-interactive- Non interactive mode. default choices are automatically made for confirmations and prompts.--debug- Displays full stack traces on exceptions. useful for debugging if the output is not clear enough.--no-pwd- Do not add current working directory to sys.path. by default $pwd is added to reproduce python behavior when running scripts.
Available subcommands
dlt workspace
Manage current Workspace.
Usage
dlt workspace [-h] [--verbose] {clean,info,show,run} ...
Description
Commands to get info, cleanup local files and launch Workspace MCP. Run without command get workspace info.
Show Arguments and Options
Inherits arguments from dlt.
Options
-h, --help- Show this help message and exit--verbose, -v- Provides more information for certain commands.
Available subcommands
clean- Cleans local data for the selected profile. locally loaded data will be deleted. pipelines working directories are also deleted by default. data in remote destinations is not affected.info- Displays workspace info.show- Shows workspace dashboard for the pipelines and data in this workspace.run- Run a single workspace job locally
dlt workspace clean
Cleans local data for the selected profile. Locally loaded data will be deleted. Pipelines working directories are also deleted by default. Data in remote destinations is not affected.
Usage
dlt workspace clean [-h] [--skip-data-dir]
Description
Cleans local data for the selected profile. Locally loaded data will be deleted. Pipelines working directories are also deleted by default. Data in remote destinations is not affected.
Show Arguments and Options
Inherits arguments from dlt workspace.
Options
-h, --help- Show this help message and exit--skip-data-dir- Do not delete pipelines working dir.
dlt workspace info
Displays workspace info.
Usage
dlt workspace info [-h]
Description
Displays workspace info.
Show Arguments and Options
dlt workspace show
Shows Workspace Dashboard for the pipelines and data in this workspace.
Usage
dlt workspace show [-h] [--edit]
Description
Shows Workspace Dashboard for the pipelines and data in this workspace.
Show Arguments and Options
Inherits arguments from dlt workspace.
Options
-h, --help- Show this help message and exit--edit- Eject dashboard and start editable version
dlt workspace run
Run a single workspace job locally.
Usage
dlt workspace run [-h] [--file FILE] [--profile NAME] [--start ISO] [--end ISO]
[--dry-run] [-v] [-c KEY=VALUE] [--refresh] [selector_or_job_ref]
Description
Run a single job from a deployment module locally. Loads the manifest, matches exactly one job by selector or job reference, builds a runtime entry point, and spawns the launcher subprocess. Freshness checks are skipped — use runtime for scheduled execution.
Show Arguments and Options
Inherits arguments from dlt workspace.
Positional arguments
selector_or_job_ref- Job reference (backfill, batch.backfill), trigger selector (tag:backfill, schedule:*), or a .py file path (auto-promoted to --file). if omitted, the job's default trigger is used.
Options
-h, --help- Show this help message and exit--file FILE, -f FILE- Path to a .py deployment module. if omitted, loads the default 'deployment' module from the workspace.--profile NAME- Override require.profile and the workspace pinned profile.--start ISO- Override interval start (iso 8601). naive values use the job's timezone.--end ISO- Override interval end (iso 8601). defaults to now if --start is set.--dry-run- Resolve the job and print the entry point without launching-v, --verbose- Print the resolved entry point before running-c KEY=VALUE, --config KEY=VALUE- Config key=value pairs passed to the job (repeatable)--refresh- Request a refresh run. respects tjobdefinition.refresh:alwaysforces refresh regardless,blockignores the flag with a warning (run proceeds),autohonors it.
dlt profile
Manage Workspace built-in profiles.
Usage
dlt profile [-h] [profile_name] {info,list,pin} ...
Description
Commands to list and pin profiles Run without arguments to list all profiles, the default profile and the pinned profile in current project.
Show Arguments and Options
dlt profile info
Show information about the current profile.
Usage
dlt profile [profile_name] info [-h]
Description
Show information about the current profile.
Show Arguments and Options
dlt profile list
Show list of built-in profiles.
Usage
dlt profile [profile_name] list [-h]
Description
Show list of built-in profiles.
Show Arguments and Options
dlt profile pin
Pin a profile to the Workspace.
Usage
dlt profile [profile_name] pin [-h]
Description
Pin a profile to the Workspace, this will be the new default profile while it is pinned.
Show Arguments and Options
dlt runtime
Connect to dltHub Runtime and run your code remotely.
Usage
dlt runtime [-h] [--help-all] [--timestamps]
{login,logout,launch,serve,publish,unpublish,trigger,run-pipeline,logs,cancel,dashboard,deploy,info,deployment,job,jobs,job-run,job-runs,configuration,workspace}
...
Description
Allows you to connect to the dltHub Runtime, deploy and run local workspaces there. Requires dltHub license.
Show Arguments and Options
Inherits arguments from dlt.
Options
-h, --help- Show this help message and exit--help-all- Show all commands including subcommands--timestamps- Show exact iso timestamps and precise durations (e.g. 1.291 s) instead of humanized relative times.
Available subcommands
login- Log in to dlthub runtime and connect the current workspace to the remote onelogout- Log out from dlthub runtimelaunch- Deploy code/config and run a scriptserve- Deploy and serve an interactive notebook/app (read-only) and follow until readypublish- Generate or revoke a public link for an interactive notebook/appunpublish- Revoke the public link for an interactive notebook/apptrigger- Trigger jobs matching selectors (does not sync or deploy)run-pipeline- Run a job by pipeline namelogs- Show logs for latest or selected job run (shortcut for 'job-run logs')cancel- Cancel active runs for matching jobsdashboard- Open the runtime dashboard for this workspacedeploy- Sync code/config and deploy jobs from deployment manifestinfo- Show overview of current runtime workspace (shows workspace, job count, latest run, latest deployment, and latest configuration)deployment- Manipulate deployments in the workspacejob- List, create and inspect jobsjob-run- List, create and inspect job runsconfiguration- Manipulate configurations in the workspaceworkspace- List and manage workspaces
dlt runtime login
Log in to dltHub Runtime and connect the current workspace to the remote one.
Usage
dlt runtime login [-h] [--workspace WORKSPACE] [--resume DEVICE_CODE]
Description
Log in to dltHub Runtime.
Show Arguments and Options
Inherits arguments from dlt runtime.
Options
-h, --help- Show this help message and exit--workspace WORKSPACE, -w WORKSPACE- Select workspace by name or id (skip interactive prompt)--resume DEVICE_CODE- Resume a previously started device flow login. the device_code is printed bydlt runtime loginwhen no tty is attached.
dlt runtime logout
Log out from dltHub Runtime.
Usage
dlt runtime logout [-h]
Description
Log out from dltHub Runtime.
Show Arguments and Options
dlt runtime launch
Deploy code/config and run a script.
Usage
dlt runtime launch [-h] [--file FILE] [-f] [--refresh] [selector_or_job_ref]
Description
Deploy current workspace and run a batch script remotely. Use -f/--follow to tail logs until completion.
Show Arguments and Options
Inherits arguments from dlt runtime.
Positional arguments
selector_or_job_ref- Selector or job ref to pick a job from the manifest
Options
-h, --help- Show this help message and exit--file FILE- Python file to use as manifest source (instead of deployment)-f, --follow- Follow status changes and stream logs until the run completes--refresh- Re-run from scratch (full reload). cascades to freshness-graph downstream jobs.
dlt runtime serve
Deploy and serve an interactive notebook/app (read-only) and follow until ready.
Usage
dlt runtime serve [-h] [--file FILE] [-f] [selector_or_job_ref]
Description
Deploy current workspace and run a notebook as a read-only web app.
Show Arguments and Options
Inherits arguments from dlt runtime.
Positional arguments
selector_or_job_ref- Selector or job ref to pick an interactive app from the manifest
Options
-h, --help- Show this help message and exit--file FILE- Python file to use as manifest source (instead of deployment)-f, --follow- Stream logs until the app stops
dlt runtime publish
Generate or revoke a public link for an interactive notebook/app.
Usage
dlt runtime publish [-h] [--cancel] script_path
Description
Generate a public link for a notebook/app, or revoke it with --cancel.
Show Arguments and Options
Inherits arguments from dlt runtime.
Positional arguments
script_path- Local path to the notebook/app
Options
-h, --help- Show this help message and exit--cancel- Revoke the public link for the notebook/app
dlt runtime unpublish
Revoke the public link for an interactive notebook/app.
Usage
dlt runtime unpublish [-h] script_path
Description
Revoke the public link for an interactive notebook/app.
Show Arguments and Options
Inherits arguments from dlt runtime.
Positional arguments
script_path- Local path to the notebook/app
Options
-h, --help- Show this help message and exit
dlt runtime trigger
Trigger jobs matching selectors (does not sync or deploy).
Usage
dlt runtime trigger [-h] [--dry-run] [--profile PROFILE] [--refresh] selectors
[selectors ...]
Description
Trigger runs for jobs matching the given selectors. Does not sync code or deploy jobs. Examples: 'tag:backfill', 'manual:jobs.etl.', 'schedule:'.
Show Arguments and Options
Inherits arguments from dlt runtime.
Positional arguments
selectors- Trigger selectors (fnmatch patterns), e.g. 'tag:backfill', 'manual:jobs.etl.*'
Options
-h, --help- Show this help message and exit--dry-run- Preview matched jobs without creating runs--profile PROFILE- Profile override for all triggered runs--refresh- Force a refresh on every triggered job (jobs skipped by freshness are not refreshed).
dlt runtime run-pipeline
Run a job by pipeline name.
Usage
dlt runtime run-pipeline [-h] [--job-ref JOB_REF] [-f] [--refresh] pipeline_name
Description
Run a job that uses the given pipeline. Uses 'pipeline_name:' trigger selector.
Show Arguments and Options
Inherits arguments from dlt runtime.
Positional arguments
pipeline_name- Name of the pipeline to run
Options
-h, --help- Show this help message and exit--job-ref JOB_REF- Specific job ref if multiple jobs use the same pipeline-f, --follow- Follow status changes and stream logs until the run completes--refresh- Re-run from scratch (full reload). cascades to freshness-graph downstream jobs.
dlt runtime logs
Show logs for latest or selected job run (shortcut for 'job-run logs').
Usage
dlt runtime logs [-h] [-f] selector_or_job_name [run_number]
Description
Show logs for the latest run of a job or a specific run number. Use -f/--follow to stream logs in real-time.
Show Arguments and Options
Inherits arguments from dlt runtime.
Positional arguments
selector_or_job_name- Job name, script path, or selector (e.g. batch, schedule:*).run_number- Run number (optional)
Options
-h, --help- Show this help message and exit-f, --follow- Follow logs in real-time until the run completes
dlt runtime cancel
Cancel active runs for matching jobs.
Usage
dlt runtime cancel [-h] [--dry-run] selector_or_job_name [selector_or_job_name
...]
Description
Cancel active (non-terminal) runs for jobs matching selectors or names. Accepts one or more selectors (batch, schedule:*, tag:ops, etc.) or job names. Use --dry-run to preview.
Show Arguments and Options
Inherits arguments from dlt runtime.
Positional arguments
selector_or_job_name- Job name, script path, or selector (e.g. batch, schedule:*). multiple values cancel active runs for all matching jobs.
Options
-h, --help- Show this help message and exit--dry-run- Show what would be cancelled without actually cancelling
dlt runtime dashboard
Open the Runtime dashboard for this workspace.
Usage
dlt runtime dashboard [-h]
Description
Open link to the Runtime dashboard for current remote workspace.
Show Arguments and Options
dlt runtime deploy
Sync code/config and deploy jobs from deployment manifest.
Usage
dlt runtime deploy [-h] [--file FILE] [--dry-run] [--show-manifest]
Description
Sync workspace files, generate job manifest from deployment.py, and reconcile jobs with the runtime. Use --dry-run to preview changes.
Show Arguments and Options
Inherits arguments from dlt runtime.
Options
-h, --help- Show this help message and exit--file FILE- Python file to use as manifest source (instead of deployment)--dry-run- Preview changes without applying them--show-manifest- Dump the expanded deployment manifest as yaml and exit
dlt runtime info
Show overview of current Runtime workspace (shows workspace, job count, latest run, latest deployment, and latest configuration).
Usage
dlt runtime info [-h]
Description
Show workspace ID and summary of deployments, configurations and jobs.
Show Arguments and Options
dlt runtime deployment
Manipulate deployments in the workspace.
Usage
dlt runtime deployment [-h] [deployment_version_no] {list,info,sync} ...
Description
Manipulate deployments in the workspace.
Show Arguments and Options
Inherits arguments from dlt runtime.
Positional arguments
deployment_version_no- Deployment version number. only used in theinfosubcommand
Options
-h, --help- Show this help message and exit
Available subcommands
dlt runtime deployment list
List all deployments in workspace.
Usage
dlt runtime deployment [deployment_version_no] list [-h]
Description
List all deployments in workspace.
Show Arguments and Options
dlt runtime deployment info
Get detailed information about a deployment.
Usage
dlt runtime deployment [deployment_version_no] info [-h]
Description
Get detailed information about a deployment.
Show Arguments and Options
dlt runtime deployment sync
Create new deployment if local workspace content changed.
Usage
dlt runtime deployment [deployment_version_no] sync [-h] [--dry-run] [-v]
Description
Create new deployment if local workspace content changed.
Show Arguments and Options
Inherits arguments from dlt runtime deployment.
Options
-h, --help- Show this help message and exit--dry-run- Compare local files to latest deployment without uploading-v, --verbose- Print per-file added/updated/deleted tree alongside the summary
dlt runtime job
List, create and inspect jobs.
Usage
dlt runtime job [-h] [selector_or_job_name ...] {list,info} ...
Description
List and manipulate jobs registered in the workspace.
Show Arguments and Options
Inherits arguments from dlt runtime.
Positional arguments
selector_or_job_name- Job name, script path, or selector (e.g. batch, schedule:*). multiple selectors narrow the listing. required forinfo.
Options
-h, --help- Show this help message and exit
Available subcommands
dlt runtime job list
List jobs (filter with selectors: batch, schedule:*, tag:ops, ...).
Usage
dlt runtime job [selector_or_job_name ...] list [-h]
Description
List jobs registered in the workspace. Pass selectors before list to filter: batch, interactive, schedule:, tag:<name>, manual:, etc.
Show Arguments and Options
dlt runtime job info
Show job info.
Usage
dlt runtime job [selector_or_job_name ...] info [-h]
Description
Display detailed information about the job.
Show Arguments and Options
dlt runtime job-run
List, create and inspect job runs.
Usage
dlt runtime job-run [-h] [selector_or_job_name] [run_number]
{list,info,logs,cancel} ...
Description
List and manipulate job runs registered in the workspace.
Show Arguments and Options
Inherits arguments from dlt runtime.
Positional arguments
selector_or_job_name- Job name, script path, or selector (e.g. batch, schedule:*). forlist: filters runs by matching jobs. required forinfo,logs,cancel.run_number- Run number. used in all commands exceptlistandcreateas optional argument. if not specified, the latest run of the given script will be used.
Options
-h, --help- Show this help message and exit
Available subcommands
dlt runtime job-run list
List job runs (filter with a selector: batch, schedule:*, ...).
Usage
dlt runtime job-run [selector_or_job_name] [run_number] list [-h]
Description
List job runs registered in the workspace. Pass a selector before list to filter by matching jobs.
Show Arguments and Options
dlt runtime job-run info
Show job run info.
Usage
dlt runtime job-run [selector_or_job_name] [run_number] info [-h]
Description
Display detailed information about the job run.
Show Arguments and Options
dlt runtime job-run logs
Show logs for the latest or selected job run.
Usage
dlt runtime job-run [selector_or_job_name] [run_number] logs [-h] [-f]
Description
Show logs for the latest or selected job run. Use -f/--follow to stream logs in real-time until completion.
Show Arguments and Options
Inherits arguments from dlt runtime job-run.
Options
-h, --help- Show this help message and exit-f, --follow- Follow logs in real-time until the run completes
dlt runtime job-run cancel
Cancel the latest or selected job run.
Usage
dlt runtime job-run [selector_or_job_name] [run_number] cancel [-h]
Description
Cancel the latest or selected job run.
Show Arguments and Options
dlt runtime configuration
Manipulate configurations in the workspace.
Usage
dlt runtime configuration [-h] [configuration_version_no] {list,info,sync} ...
Description
Manipulate configurations in the workspace.
Show Arguments and Options
Inherits arguments from dlt runtime.
Positional arguments
configuration_version_no- Configuration version number. only used in theinfosubcommand
Options
-h, --help- Show this help message and exit
Available subcommands
dlt runtime configuration list
List all configuration versions.
Usage
dlt runtime configuration [configuration_version_no] list [-h]
Description
List all configuration versions.
Show Arguments and Options
Inherits arguments from dlt runtime configuration.
Options
-h, --help- Show this help message and exit
dlt runtime configuration info
Get detailed information about a configuration.
Usage
dlt runtime configuration [configuration_version_no] info [-h]
Description
Get detailed information about a configuration.
Show Arguments and Options
Inherits arguments from dlt runtime configuration.
Options
-h, --help- Show this help message and exit
dlt runtime configuration sync
Create new configuration if local config content changed.
Usage
dlt runtime configuration [configuration_version_no] sync [-h] [--dry-run] [-v]
Description
Create new configuration if local config content changed.
Show Arguments and Options
Inherits arguments from dlt runtime configuration.
Options
-h, --help- Show this help message and exit--dry-run- Compare local config to latest configuration without uploading-v, --verbose- Print per-file added/updated/deleted tree alongside the summary