Deployment Installing the ZLI BastionZero's command line interface for connecting to your targets
The BastionZero product is maintained for existing BastionZero customers only.
BastionZero's command-line interface (CLI), the Zero-Trust Command Line Interface (zli
), is available on Mac, Linux, and Windows machines.
You can download the zli
through package managers (brew
, yum
, and apt
) or with curl
for Windows machines.
The zli
is compatible with both x86
and amd64
platforms.
Install the zli
with the command below:
Copy brew install bastionzero/tap/zli
Use the yum-config-manager
to add the BastionZero repo.
Copy sudo yum-config-manager --add-repo \
https://download-yum.bastionzero.com/bastionzero.repo
Install the zli
.
Copy sudo yum install -y zli
Install the BastionZero public key from the Ubuntu key server.
Copy curl -sSL "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0xe5c358e613982017" | gpg --dearmor | sudo tee /usr/share/keyrings/bastionzero.gpg > /dev/null
Add the BastionZero repo with:
Copy echo "deb [signed-by=/usr/share/keyrings/bastionzero.gpg] https://download-apt.bastionzero.com/production/apt-repo stable main" | sudo tee /etc/apt/sources.list.d/bastionzero.list > /dev/null
Install the zli
.
Copy sudo apt install -y zli
Download the zli
.
Copy curl.exe -LO "https://download-zli.bastionzero.com/release/latest/bin/zli.exe"
Append the zli
binary folder to your PATH
environment variable. Note , the following example will make the zli
commands permanently available to the current user only .
Copy setx PATH "%PATH%;<path to folder containing zli>"
Exit out of your terminal window and reopen a new one.
Have feedback on the docs? Please reach out to [email protected] .
Last updated 8 months ago