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 --cask
or
curl -sSL instl.sh/openstatushq/cli/macos | bash
curl -sSL instl.sh/openstatushq/cli/linux | bash
Windows
Section titled “Windows”iwr instl.sh/openstatushq/cli/windows | iex
Add 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 import
Manage Monitors
Section titled “Manage Monitors”Add, remove, or update monitors from a YAML file and apply your changes.
openstatus monitors apply