On this page

Run TAG directly as a native binary. For containerized deployments, see the [Docker](/content/docs/acceleration-gateway/docker/index.html) or [Kubernetes](/content/docs/acceleration-gateway/kubernetes/index.html) guides. For all configuration options, see the [Configuration Reference](/content/docs/acceleration-gateway/configuration/index.html).

## Prerequisites

- Linux (amd64/arm64) or macOS (arm64)
- `curl` installed
- Tigris access key and secret key with read access to all buckets that will be accessed through TAG

## Install

The install script auto-detects your OS and architecture, downloads the TAG binary to `/usr/local/bin`, and installs a default config to `/etc/tag/config.yaml`:

```bash
curl -fsSL https://tag-releases.t3.storage.dev/latest/install.sh | bash
```

Verify the installation:

```bash
tag --version
```

## Run

```bash
export AWS_ACCESS_KEY_ID=<your-access-key>

export AWS_SECRET_ACCESS_KEY=<your-secret-key>

tag --config /etc/tag/config.yaml
```

TAG will be available at `http://localhost:8080`.

```bash
# Health check

curl http://localhost:8080/health

# Download an object using AWS CLI

aws s3 cp s3://your-bucket/your-key ./local-file \

--endpoint-url http://localhost:8080
```

## Production considerations

For production, run TAG under a process supervisor (systemd, supervisord, etc.) to handle automatic restarts. Example systemd unit:

```ini
[Unit]

Description=Tigris Acceleration Gateway

After=network.target

[Service]

Type=simple

Environment=AWS_ACCESS_KEY_ID=<your-access-key>

Environment=AWS_SECRET_ACCESS_KEY=<your-secret-key>

ExecStart=/usr/local/bin/tag --config /etc/tag/config.yaml

Restart=always

RestartSec=5

[Install]

WantedBy=multi-user.target
```

See [Configuration Reference — Example Configurations](/content/docs/acceleration-gateway/configuration/#example-configurations/index.html) for ready-to-use production YAML configs.

## Upgrading

1. Stop the running TAG process
2. Re-run the install script (or download the new binary manually)
3. Start TAG

The on-disk cache is persistent and compatible across versions — no rebuild needed.

## Troubleshooting

For troubleshooting startup failures, cache issues, authentication errors, and debug mode, see [Troubleshooting](/content/docs/acceleration-gateway/deployment-guide/#troubleshooting/index.html) in the Deployment Guide.
