Skip to main content

Get Started

Welcome to Tigris! Tigris stores data as objects within buckets. An object is a file with metadata, and a bucket is a container for objects. To use Tigris, create a bucket with a unique name and upload your data as objects. Each object has a unique key within the bucket. Tigris stores data close to your users and moves it if they change regions. Buckets and objects are private and accessible only via granted access keys.

This guide will have you storing and retrieving objects in minutes — pick the tool that fits your workflow.

Choose Your Tool

The Tigris CLI lets you manage buckets, objects, and access keys from your terminal.

Install

npm install -g @tigrisdata/cli

Authenticate

tigris login
note

t3 is shorthand for tigris and can be used interchangeably.

Create a bucket and upload files

# Create a bucket
t3 mk my-bucket

# Upload a file
t3 cp ./photo.jpg my-bucket/photo.jpg

# Upload an entire folder
t3 cp ./images/ my-bucket/images/ -r

List and download objects

# List objects in a bucket
t3 ls my-bucket

# List objects under a prefix
t3 ls my-bucket/images/

# Download an object
t3 cp my-bucket/photo.jpg ./downloaded.jpg

Generate a presigned URL

# Shareable link, expires in 1 hour by default
t3 presign my-bucket/photo.jpg

# Presigned PUT URL with custom expiry (2 hours)
t3 presign my-bucket/report.pdf --method put --expires-in 7200

Remove objects

# Remove a single object
t3 rm my-bucket/old-file.txt -f

# Remove a folder recursively
t3 rm my-bucket/logs/ -rf

Full CLI documentation →