Get the CLI
The Wayfinder CLI allows you to interact with Wayfinder from your terminal and within continuous integration pipelines. All features of Wayfinder can be accessed equally from the UI and CLI.
CLI download links​
See the Release Notes to find the CLI download links for the Wayfinder version and operating system you need. Download links are shown under every supported version.
Download the latest version​
Method 1​
Copy the commands shown in the example below.
If needed, replace
darwin
with the OS you want.Example:
In this example, you want to download the latest CLI version for the darwin OS.
VERSION=latest
OS=darwin
curl -L https://storage.googleapis.com/wayfinder-releases/$VERSION/wf-cli-$OS-amd64 --output /tmp/wf
chmod +x /tmp/wf
sudo mv /tmp/wf /usr/local/bin/wfThe above commands:
- Download the latest CLI binary for darwin to a temporary directory.
- Make the binary executable.
- Use
sudo
to move the executable to the/usr/local/bin/wf
directory. This is a suggested location, but you can use any location defined in your path.
Method 2​
- Check the Release Notes to find the latest CLI download link for the OS you want.
- Download the CLI binary and place it in a temporary location.
- Make the binary executable.
- Use
sudo
to move the binary to a location defined in your path, for example/usr/local/bin
.
Download a previous version​
To download a specific version of the CLI:
Check the Release Notes to see the available versions.
Copy the commands in the example below.
Replace
1.x.x
with the CLI version you want, and if needed replacedarwin
with the OS you want.Run the commands.
Example:
VERSION=1.x.x
OS=darwin
curl -L https://storage.googleapis.com/wayfinder-releases/$VERSION/wf-cli-$OS-amd64 --output /tmp/wf
chmod +x /tmp/wf
sudo mv /tmp/wf /usr/local/bin/wfThe commands above:
- Download the
v1.x.x
CLI binary for darwinOS
to a temporary directory. - Make the binary executable.
- Use
sudo
to move the executable to your/usr/local/bin/wf
directory. You can use any directory defined in your path.
- Download the
You can also use Method 2 above for the version you want to download.
CLI help​
To find help for any command, run wf help command
, for example, wf help create cluster
.