Installation#

Homebrew#

brew install codingconcepts/tap/edg

Install script#

curl -fsSL https://raw.githubusercontent.com/codingconcepts/edg-releases/main/install.sh | sh

Download binary#

Pre-built binaries for Linux, macOS, and Windows are available on the releases page.

Docker#

Pull the Docker image:

docker pull codingconcepts/edg:latest

Images are published for both linux/amd64 and linux/arm64. Pass flags and mount your config file:

docker run --rm \
  -v $(pwd)/examples/tpcc:/config \
  codingconcepts/edg:latest all \
  --driver pgx \
  --config /config/workload.edg \
  --url "postgres://root@host.docker.internal:26257?sslmode=disable"

See the Docker and Kubernetes pages for more examples.

VSCode Extension#

A VSCode extension is available for .edg files, providing syntax highlighting, embedded SQL highlighting, bracket matching, auto-closing, comment toggling, and LSP features (completions, hover docs, go-to-definition).

Install from the command line:

code --install-extension RobReid.edg-lang

Or search for “edg-lang” in the VSCode Extensions panel (Ctrl+Shift+X / Cmd+Shift+X).