install-datafusion
Skill14 starsChanged 8 months agoApache-2.0View on GitHub
Install or update datafusion-cli. Supports installation via cargo install, Homebrew, or pre-built binaries. Checks the current version and offers to upgrade if outdated.
- Pipes a download into a shell
- Installs packages
In this repository6 other files it gives its agents.
- create-tableSkill
- datafusion-docsSkill
- explain-planSkill
- materialized-viewSkill
- querySkill
- read-fileSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 2 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 21
If found, check the version:
- Very specific: line 29
If --update is in the arguments and datafusion-cli is installed → update mode
- Distinctive: line 30
If datafusion-cli is not installed → install mode
- Very specific: line 31
If installed and no --update → report the current version and stop
- Very specific: line 75
If neither brew nor pre-built binaries are suitable:
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
You are helping the user install or update datafusion-cli.
Arguments: $@
Step 1 — Check if datafusion-cli is already installed
command -v datafusion-cliIf found, check the version:
datafusion-cli --version 2>&1 | head -1Step 2 — Determine the action
- If
--updateis in the arguments and datafusion-cli is installed → update mode - If datafusion-cli is not installed → install mode
- If installed and no
--update→ report the current version and stop
Step 3 — Install or update
Detect the platform and offer the appropriate method:
macOS
Option 1 — Homebrew (recommended if brew is available):
brew install datafusionOr for update:
brew upgrade datafusionOption 2 — cargo install (works on all platforms):
cargo install datafusion-cliLinux
Option 1 — cargo install (recommended):
cargo install datafusion-cliOption 2 — Download pre-built binary from GitHub releases:
LATEST=$(curl -fsSL https://api.github.com/repos/apache/datafusion/releases/latest | grep -oP '"tag_name": "\K[^"]+')
curl -fsSL "https://github.com/apache/datafusion/releases/download/${LATEST}/datafusion-cli-${LATEST}-x86_64-unknown-linux-gnu.tar.gz" | tar xz
sudo mv datafusion-cli /usr/local/bin/All platforms — cargo install
If neither brew nor pre-built binaries are suitable:
cargo install datafusion-cliFor update via cargo:
cargo install datafusion-cli --forceNote: cargo install requires a Rust toolchain. If cargo is not found, suggest installing Rust first via rustup:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | shStep 4 — Verify
datafusion-cli --versionReport success with the installed version.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

