Use CLI binaries
We publish binaries of our CLI here. Here's an example a script you might use to download the binaries on a VM. Note that we are using gt-linux
here — there are other OS/arch combinations available on that page.
Terminal
version="$(curl https://registry.npmjs.org/@withgraphite/graphite-cli/stable | jq -r .version)"url="https://github.com/withgraphite/homebrew-tap/releases/download/v$version/gt-linux"curl -L "$url" -o /path/to/gtchmod +x /path/to/gt
You can replace /path/to/gt
with your preferred install location (e.g., /usr/local/bin/gt
).