Installation
You can install the CLI by downloading an executable from the GitHub Releases page.
The macOS and Linux executable downloads use in-line gzip compression to reduce their size. As such you'll take a performance hit when running them as they dynamically decompress on execution. If you wish to decompress them after download, simply run:
gzexe -d depot
macOS
You can run the following script to install the downloaded executable:
#! /bin/bash
DEPOT_TARGET="/usr/local/bin/depot"
mv ~/Downloads/depot-macos $DEPOT_TARGET
chmod +x $DEPOT_TARGET
spctl --add --label "stage-depot" $DEPOT_TARGET
spctl --enable --label "stage-depot"
depot
Linux
You can run the following script to install the downloaded executable:
#! /bin/bash
DEPOT_TARGET="/usr/local/bin/depot"
sudo mv ~/Downloads/depot-linux $DEPOT_TARGET
chmod +x $DEPOT_TARGET
depot
Windows
Rename the binary to depot.exe after downloading and place it in a system PATH location. If you prefer, you can place it in a custom location such as C:\Tools\depot.exe, just be sure to add that directory to your PATH. In PowerShell you could do this by appending the Tools path to your system path:
$env:Path += ";C:\Tools"
You can use the linux binary (works on debian / uBuntu based WSL) or you can use the Windows executable, as WSL allows windows binaries to be executed in a WSL shell.