| Crates.io | duckfetch |
| lib.rs | duckfetch |
| version | 0.5.1 |
| created_at | 2024-09-26 11:53:33.324418+00 |
| updated_at | 2025-08-19 17:14:58.762729+00 |
| description | A CLI tool for managing DuckDB installations, enabling users to easily list available versions and install specific ones. |
| homepage | https://github.com/pmassicotte/duckfetch |
| repository | https://github.com/pmassicotte/duckfetch |
| max_upload_size | |
| id | 1387413 |
| size | 335,953 |
A simple Rust application to manage DuckDB installations, allowing users to list available versions and install specific versions easily.

duckfetch list.duckfetch install.duckfetch update.duckfetch completions.You can install duckfetch using cargo, the Rust package manager, or by using the provided shell scripts.
To install it from crates.io:
cargo install duckfetch
Or the development version:
cargo install --git https://github.com/pmassicotte/duckfetch
Linux and MacOS:
curl --proto '=https' --tlsv1.2 -LsSf $(curl -s https://api.github.com/repos/pmassicotte/duckfetch/releases/latest | grep -o 'https://github.com/pmassicotte/duckfetch/releases/download/[^"]*-installer.sh') | sh
Windows:
powershell -ExecutionPolicy Bypass -c "$url = (Invoke-RestMethod -Uri 'https://api.github.com/repos/pmassicotte/duckfetch/releases/latest').assets | Where-Object { $_.name -eq 'duckfetch-installer.ps1' } | Select-Object -ExpandProperty browser_download_url; irm $url | iex"
duckfetch check
duckfetch list
This command will print the available versions and ask the user to select one to install.
duckfetch install
This will open the GitHub release page for the latest DuckDB version in your default browser.
duckfetch changelog
For more information, use the --help flag:
duckfetch install --help
To enable autocompletion, you can use the completions subcommand to generate the completion script for your shell. For example, to enable completions for the zsh shell:
duckfetch completions zsh >~/.zfunc/_duckfetch
Then, add the following line to your .zshrc file:
fpath+=~/.zfunc
autoload -Uz compinit
compinit -i
If you encounter GitHub API rate limit errors (especially in CI/CD or with heavy usage), you can set a GITHUB_TOKEN environment variable to increase your rate limit:
export GITHUB_TOKEN=your_github_token_here
duckfetch update
To create a GitHub token: