New Tiers availableMore feature, Up to 10 Million AI-Tokens for free
Read blog postRun uploads, synchronization and file management from the terminal. The Fairu CLI fits into scripts and CI/CD workflows so recurring steps can be repeated consistently.
Upload single files or entire directories with a single command. Supports glob patterns and recursive uploads.
Keep local folders in sync with Fairu. Changes are detected and uploaded automatically.
Organize uploads into folders. Create folder structures that mirror your local directory.
Configure projects with .fairurc files. Set defaults for folders, transformations, and more.
Watch directories for changes and upload new files automatically, making uploads part of your local workflow.
Integrate Fairu into your CI/CD pipelines. Automate asset uploads and deployments with ease.
Get started with just a few commands. The CLI works with any Fairu account.
npm install -g @fairu/clifairu loginfairu upload ./images --folder my-assetsEverything you need to manage your assets from the 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>Install @fairu/cli and test an upload before adding it to your automated workflow.