With the ability to install duckdb directly on Unix systems via an install script, this tool has reached the end of its useful life. If you have been using duckup to manage your linux installations, please note that using DuckDB's install script will install the CLI to ~/.duckdb/cli, whereas this tool installed the CLI to ~/.local/bin/. Please adjust your $PATH accordingly.
To remove the binary this tool installed (assuming you used the default install location), run rm ~/.local/bin/duckdb. Then to remove duckup from your machine, run cargo uninstall duckup.
Since duckdb CLI can't yet be installed via a linux package manager, this will install the latest version of the duckdb CLI on your computer. Default location is ~/.local/bin/, but you can choose your own location with the --folder_path option.
Use with caution, it will overwrite an existing binary.
It would be nice to eventually make this tool work like the wonderful rustup and juliaup tools. However, there is a very long way to go to reach that.
- Have the rust toolchain installed
- Run
cargo install duckup - Run
duckupfor help message - Run
duckup updateto install the latest version of the duckdb CLI into~/.local/bin. Runduckup update --folder_path /path/to/desired/location/to install to a location of your choice.