Lunar CLI
Install the Lunar CLI for managing configurations, inspecting components, running collectors, and testing policies locally.
Prerequisites
Installation
2
3
Set environment variables
# Required
export LUNAR_HUB_TOKEN=your_hub_token
export LUNAR_HUB_HOST=your_hub_host
export LUNAR_HUB_GRPC_PORT=your_grpc_port
export LUNAR_HUB_HTTP_PORT=your_http_port
export PATH="$HOME/.lunar/bin:$PATH"
# Optional, if you want to override the default bin dir
export LUNAR_BIN_DIR="$HOME/.lunar/bin"Next Steps
Last updated
