Docs menu
Build a scenario
Scenario file Generators vars and const Time and pace Defaults Relationships Schedules Instances Lifecycle Collections Connections Delivery behaviorGetting started
Install
Goal: get synthtraffic running on your machine, then connect an issued license.env.
You can run Synthtraffic either by downloading the CLI or by pulling a Docker image.
Download the latest release from SynthTraffic/synthtraffic-releases.
- Open the newest release on that page.
-
Download the archive for your OS and CPU, then extract the binary:
synthtrafficon Linux and macOS, orsynthtraffic.exeon Windows. -
Add the folder that contains the binary to your
PATH(not the binary file itself). - Confirm it runs:
For example, if the Windows binary is C:\Tools\synthtraffic\synthtraffic.exe,
add C:\Tools\synthtraffic to PATH. Open a new terminal afterwards.
On macOS or Linux, if the binary is /usr/local/bin/synthtraffic, add
/usr/local/bin to PATH.
synthtraffic help Continue below to set a license with SYNTHTRAFFIC_LICENSE_FILE.
Pull the latest image from Docker Hub
(synthtraffic/synthtraffic):
docker pull synthtraffic/synthtraffic:latest Confirm it runs:
docker run --rm synthtraffic/synthtraffic:latest help
The image entrypoint is the synthtraffic CLI. Arguments after the image name are CLI args.
Continue below to set a license — pass --env-file ./license.env on every
docker run.
Common install problems
| What you see | What to check |
|---|---|
synthtraffic is not recognized | Confirm the folder containing the extracted binary is on PATH, then reopen the terminal. |
| Permission denied on macOS or Linux | Make the extracted binary executable (chmod +x synthtraffic). |
License
Choose a Free Trial or Developer license on Pricing to begin checkout. Contact is for Enterprise pricing and custom terms. If you already have an issued license.env, continue below. The file stays on your machine.
Set the license
The CLI points to the file with one environment variable. Docker receives the file on every run.
Set SYNTHTRAFFIC_LICENSE_FILE to your license.env. Use the
command for your shell:
macOS/Linux shell:
export SYNTHTRAFFIC_LICENSE_FILE=/Users/you/Downloads/license.env PowerShell:
$env:SYNTHTRAFFIC_LICENSE_FILE = "C:/Users/you/Downloads/license.env"
These commands set the variable for the current terminal session. Changing the env var (or
the file it points at) changes the active license. You will confirm it works when you run sample in
Quickstart — a missing or
expired file prints an error before any events.
Containers are ephemeral. Pass license.env on every
docker run with --env-file:
docker run --rm --env-file /Users/you/Downloads/license.env synthtraffic/synthtraffic:latest … PowerShell:
docker run --rm --env-file C:/Users/you/Downloads/license.env synthtraffic/synthtraffic:latest …
You will confirm it works when you run sample in
Quickstart — a missing or
expired file prints an error before any events.
Which commands need it?
- The three product commands—
sample,run, andstudio—require a valid license. - Viewing command help with
synthtraffic --helpdoes not require a license.
How Synthtraffic finds the file
- CLI:
SYNTHTRAFFIC_LICENSE_FILE— path to alicense.env - Docker:
--env-file ./license.envon everydocker run
Common license problems
| What you see | What to check |
|---|---|
license not found |
CLI: export SYNTHTRAFFIC_LICENSE_FILE to a
license.env path. Docker: pass
--env-file ./license.env.
|
| The signature is rejected | Copy every issued field exactly. |
license expired |
Get a new license through Pricing (or
Contact for Enterprise), then point
SYNTHTRAFFIC_LICENSE_FILE at the new file. With Docker,
pass the new file using --env-file.
|
| Docker works once but not on the next run | Pass --env-file every time. |
What is in the License file?
An issued file contains your license details and a signature:
LICENSE_ID=...
LICENSE_EMAIL=you@example.com
LICENSE_ORGANIZATION=Your Org
LICENSE_EDITION=Synthtraffic Free Trial
LICENSE_EXPIRATION=2026-09-21
LICENSE_SIGNATURE=...
Keep every line unchanged. Synthtraffic checks the file locally when an actual command starts.
Next
- Quickstart — print three events on your machine