duckfetch-0.4.0 is not a library.
duckfetch: a DuckDB manager for Linux (maybe Windows and MacOS)
A simple Rust application to manage DuckDB installations, allowing users to list available versions and install specific versions easily.
Table of Contents
Demo
Features
- List available DuckDB versions from GitHub releases with
duckfetch list
. - Install a specific DuckDB version with
duckfetch install
. - Update to the latest version with
duckfetch update
. - Generate auto-completion scripts for your shell with
duckfetch completions
.
Requirements
- Rust (version 1.60 or later)
- Internet access to download DuckDB releases.
Installation
To install it from crates.io:
Or the development version:
Usage
Check the currently installed DuckDB version
List available DuckDB versions
Install DuckDB
This command will print the available versions and ask the user to select one to install.
Open the change log of the latest version
This will open the GitHub release page for the latest version in your default browser.
Help
For more information, use the --help
flag:
Autocompletion
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:
Then, add the following line to your .zshrc
file:
fpath+=
/.zfunc