Get Started with openstatus CLI

Installation
Section titled “Installation”Install the OpenStatus CLI to set up your monitors straight in your code.
brew install openstatusHQ/cli/openstatus --caskor
curl -sSL instl.sh/openstatushq/cli/macos | bashcurl -sSL instl.sh/openstatushq/cli/linux | bashWindows
Section titled “Windows”iwr instl.sh/openstatushq/cli/windows | iexAdd API Key
Section titled “Add API Key”Create an API key in your workspace settings.
export OPENSTATUS_API_TOKEN=<your-api-token>Import Monitors
Section titled “Import Monitors”Import monitors from your workspace to a YAML file.
openstatus monitors importManage Monitors
Section titled “Manage Monitors”Add, remove, or update monitors from a YAML file and apply your changes.
openstatus monitors apply