Skip to content

Shellfs

Use Unix pipes as DuckDB filenames.

286,281
extension loads · last 90 days
On this page

Deep Dive

Technical Details

Install

INSTALL shellfs FROM community;
LOAD shellfs;

Quick Start

Read from a shell pipeline

SELECT * FROM read_csv('seq 1 100 | grep 2 |');

Curl directly into a JSON read

SELECT * FROM read_json('curl -s http://worldtimeapi.org/api/timezone/Etc/UTC |');

Pipe out of DuckDB into another program

COPY (SELECT * FROM range(1000) t(n)) TO '| gzip > out.csv.gz';

Reference

Extension Contents

Quick reference to all available functions and settings organized by category.

Name Description
Configuration
ignore_sigpipe Ignore SIGPIPE

Configuration

Settings

Configure the shellfs extension behavior using these settings.

ignore_sigpipe

Default Value: false

Practical Examples

Cookbook

Real-world recipes and patterns for common use cases.

Platform Support

Compatibility

Extension availability may vary by platform and DuckDB version. Check below to ensure this extension supports your environment before installation.

Quick Facts

Release status Stable
Software License MIT
Pricing Free
Written In C++
Source Available Yes
View on GitHub
Usage
286,281
loads · last 90 days

Platforms

  • Linux x86_64 aarch64
  • Linux (musl) Not available
  • macOS Intel Apple Silicon
  • Windows x86_64
  • WASM Not available
Compiled binary sizes
Platform Architecture Size
Linux x86_64 3.18 MB
Linux aarch64 2.82 MB
macOS Intel 1.45 MB
macOS Apple Silicon 1.31 MB
Windows x86_64 7.37 MB

Compressed download size from the Haybarn extension repository.

DuckDB & Haybarn

Release calendar