duckdb command launches the DuckDB command-line tool.
Usage
Options
In addition to the global options, this command supports:| Option | Description |
|---|---|
--ui | Launch the local DuckDB UI |
Examples
Open DuckDB CLI:Notes
- Exit the DuckDB CLI with
.exit - If a
duckdb_init.sqlfile exists, it will be written totarget/duckdb_init.sql(with additional DuckDB commands) and loaded. - The DuckDB CLI must be installed for this command to work. If the DuckDB CLI is not installed, install it from
https://duckdb.org/install