New Tiers availableMore feature, Up to 10 Million AI-Tokens for free

Read blog post

Command Line Interface

A powerful CLI for managing your Fairu assets. Upload, sync, and organize files directly from your terminal — perfect for automation and CI/CD workflows.

Command Line Interface

Powerful Commands for Every Workflow

Bulk Uploads

Upload single files or entire directories with a single command. Supports glob patterns and recursive uploads.

Two-Way Sync

Keep local folders in sync with Fairu. Changes are detected and uploaded automatically.

Folder Management

Organize uploads into folders. Create folder structures that mirror your local directory.

Project Configuration

Configure projects with .fairurc files. Set defaults for folders, transformations, and more.

Watch Mode

Watch directories for changes and upload new files automatically. Perfect for development workflows.

CI/CD Ready

Integrate Fairu into your CI/CD pipelines. Automate asset uploads and deployments with ease.

Quick Setup

Up and Running in Minutes

Get started with just a few commands. The CLI works with any Fairu account.

1

Install globally via npm

npm install -g @fairu/cli
2

Login to your Fairu account

fairu login
3

Start uploading

fairu upload ./images --folder my-assets
Commands

Common Commands

Everything you need to manage your assets from the terminal.

Terminal
# Upload files to Fairu
fairu upload ./assets --folder products

# Sync a local folder with Fairu
fairu sync ./media --folder media --watch

# List all files in a folder
fairu list --folder documents

# Download files from Fairu
fairu download --folder backups --output ./local

# Get file information
fairu info <file-id>

Ready to Automate Your Asset Workflow?

Install @fairu/cli and start managing your assets from the command line.