Commonly used CLIs
To help build your understanding of the system, we’ll group commands here based on different contexts so that you know what part of the system is exercised to accomplish a particular category of tasks. Let’s start with the general commands.
General commands
The following commands provide a general overview of the end-to-end-system:
- Show the installed
hzn
CLI version and the running Edge Agent version:hzn version
You should expect to see an output that looks like this:
Horizon CLI version: 2.30.0-1491 Horizon Agent version: 2.30.0-1491
- Show the CPU architecture of the Edge device node:
hzn architecture
You’ll see an output that’s similar to the following:
amd64
- Show the environment variables of the Edge device node that this node is operating with. These variables are based on the values that are used while installing the Edge Agent:
hzn env
You should expect to see an output similar to this:
Horizon Agent HZN Environment Variables...