Introducing the Firezone CLI
We are excited to announce that the Firezone desktop Clients for macOS, Windows, and Linux now come with a CLI: firezone. The CLI doesn't replace the GUI Client; it accompanies it. The actual tunnel runs in a privileged background process on all three platforms, and the CLI is just another interface for controlling the tunnel.
Here is a quick demonstration:
What you can do with it
The firezone CLI allows you to manage the tunnel state, view Resources, and enable or disable the Internet Resource. On macOS, the CLI additionally exposes a subcommand for managing the system extension.
Unattended machines
Up until now, using a service account token with the desktop Clients was not officially supported. The firezone connect command changes that. It supports reading a token from stdin or from the FIREZONE_TOKEN environment variable.
Getting started
The CLI is automatically included in the Windows and Linux Clients from version 1.5.18 and in the macOS Client from version 1.5.21. If you installed the macOS Client from the App Store or the .dmg, you'll need to add a directory to your PATH. The other installers do this automatically for you.
For more details, check out the knowledge base article for each platform: