Quickstart
Get started with Dynamo locally in just a few commands:
1. Install Dynamo
# Install uv (recommended Python package manager)curl -LsSf https://astral.sh/uv/install.sh | sh# Create virtual environment and install Dynamouv venv venvsource venv/bin/activate# Use prerelease flag to install RC versions of flashinfer and/or other dependenciesuv pip install --prerelease=allow "ai-dynamo[sglang]" # or [vllm], [trtllm]
2. Start etcd/NATS
# Fetch and start etcd and NATS using Docker ComposeVERSION=$(uv pip show ai-dynamo | grep Version | cut -d' ' -f2)curl -fsSL -o docker-compose.yml https://raw.githubusercontent.com/ai-dynamo/dynamo/refs/tags/v${VERSION}/deploy/docker-compose.ymldocker compose -f docker-compose.yml up -d
3. Run Dynamo
# Start the OpenAI compatible frontend (default port is 8000)python -m dynamo.frontend# In another terminal, start an SGLang workerpython -m dynamo.sglang --model-path Qwen/Qwen3-0.6B
4. Test your deployment
curl localhost:8000/v1/chat/completions \-H "Content-Type: application/json" \-d '{"model": "Qwen/Qwen3-0.6B","messages": [{"role": "user", "content": "Hello!"}],"max_tokens": 50}'