R2D2

CLI Introduction

Easily upload files to your R2 or S3 bucket with the r2d2 CLI.

Streamline Your Cloud Storage with r2d2

R2D2 simplifies the process of uploading files to your Cloudflare R2 or Amazon S3 buckets. Whether you're managing large datasets or deploying web assets, R2D2 provides a robust and user-friendly command-line interface to accelerate your workflow.

Get Started

To begin uploading files, you'll first need to configure r2d2 with your cloud storage credentials.

bunx @zeitgg/r2d2 configure
 
Please provide the following information to configure your AWS or R2 account:
 
? AWS Access Key ID: » your-access-key-id
? AWS Secret Access Key: » your-secret-access-key
? Region (auto, or specify): » auto
? Bucket Name: » your-bucket-name
? R2 Account ID (optional, only if using R2): » your-cloudflare-account-id
 
Configuration saved successfully!
You can now use the `upload` command to upload files.

Once configured, you can quickly upload files of any size to your specified bucket.

This might be helpful:

On this page