Skip to main content
Vector can be installed on various platforms using multiple methods. Choose the installation method that best suits your environment.

Quick Install

The fastest way to install Vector is using our installation script:
curl --proto '=https' --tlsv1.2 -sSfL https://sh.vector.dev | bash
The installer script will detect your platform and install the appropriate package. Use curl ... | bash -s -- -y to skip the confirmation prompt.

Installation Methods

Vector provides official Docker images for multiple platforms and architectures.The Alpine image is based on musl libc and BusyBox, making it the smallest and most reliable option:
docker pull timberio/vector:latest-alpine
docker run -v $(pwd)/vector.yaml:/etc/vector/vector.yaml:ro \
  timberio/vector:latest-alpine

Debian

Based on the Debian slim image:
docker pull timberio/vector:latest-debian
docker run -v $(pwd)/vector.yaml:/etc/vector/vector.yaml:ro \
  timberio/vector:latest-debian

Distroless

Minimal images with only essential runtime dependencies:Static (musl):
docker pull timberio/vector:latest-distroless-static
Dynamic (libc):
docker pull timberio/vector:latest-distroless-libc

Architectures

All Vector Docker images support:
  • x86_64 (amd64)
  • ARM64 (aarch64)
  • ARMv7
Docker automatically pulls the correct architecture for your platform.

Version Tags

VersionTag Example
Latest majortimberio/vector:latest-alpine
Latest minortimberio/vector:0.X-alpine
Latest patchtimberio/vector:0.53.X-alpine
Specific versiontimberio/vector:0.53.0-alpine
Nightlytimberio/vector:nightly-alpine
Specific nightlytimberio/vector:nightly-2024-03-05-alpine

Configuration

Mount your configuration file at /etc/vector/vector.yaml:
docker run -d \
  -v $(pwd)/vector.yaml:/etc/vector/vector.yaml:ro \
  -p 8686:8686 \
  timberio/vector:latest-alpine

Verification

Verify your installation:
vector --version
Expected output:
vector 0.53.0 (x86_64-unknown-linux-gnu)

Configuration

After installation, you’ll need to configure Vector. The default configuration file location varies by installation method:
  • Linux (Package): /etc/vector/vector.yaml
  • macOS (Homebrew): /usr/local/etc/vector/vector.yaml
  • Docker: /etc/vector/vector.yaml (mount your config)
Validate your configuration:
vector validate --config /etc/vector/vector.yaml

Next Steps

Configuration

Learn how to configure sources, transforms, and sinks

CLI Reference

Explore Vector’s command-line interface

Deployment

Deploy Vector in production environments

API Reference

Monitor and manage Vector via GraphQL API

Troubleshooting

Permission Denied

If Vector fails to start due to permission issues:
# Check Vector user permissions
sudo chown -R vector:vector /var/lib/vector
sudo chown vector:vector /etc/vector/vector.yaml

Port Already in Use

If the API port (8686) is already in use:
api:
  enabled: true
  address: "127.0.0.1:8687"  # Change port

Validation Fails

If configuration validation fails:
# Check for syntax errors
vector validate --config /etc/vector/vector.yaml

# Enable verbose output
vector validate --verbose --config /etc/vector/vector.yaml

Build docs developers (and LLMs) love