Blog
WebsiteLoginFree Trial
  • 🏠PagerTree Blog
  • πŸ“£Meet the PagerTree CLI: Your New On-Call Sidekick!
  • πŸ“£OpsGenie Shutdown Announced: Why PagerTree Is Your Best Alternative in 2025
  • πŸ’ŽGetting Started With Ruby on Rails in 2024 - The Complete Development Environment Guide
  • πŸ“£WhatsApp Notifications
  • 🧠Site Reliability Engineer (SRE) Interview Questions
  • πŸ‘‘What is System Monitoring?
  • πŸ‘‘Top 5 Best PagerDuty Alternatives in 2024
  • πŸ”‘Understanding Linux File System: A Comprehensive Guide to Common Directories
  • πŸ”‘Ping Command: A Comprehensive Guide to Network Connectivity Tests
  • πŸ“œFly.io migrate-to-v2 Postgres stuck in read-only mode
  • πŸ’ŽMulti-Tenant SSO using Devise
  • ✨PromQL Cheat Sheet: A Quick Guide to Prometheus Query Language
  • πŸ”‘PowerShell Cheat Sheet: Essential Commands for Efficient Scripting
  • πŸ“£Critical Alerts for iOS and iPhone
  • πŸ“£PagerTree 4.0 is finally here!
  • πŸ’ŽRuby on Rails Polymorphic Select Dropdown
  • 🧠SRE Metrics: Availability
  • 🚨Incident Response Alert Routing
  • πŸ’ŽRuby on Rails Development Setup for Beginners
  • ✨Jekyll site to AWS S3 using GitHub Actions
  • πŸ’ŽMigrate attr_encrypted to Rails 7 Active Record encrypts
  • πŸ’ŽRuby on Rails Cheat Sheet
  • πŸ“£PagerTree Forms Integration
  • πŸ“£Public Team Calendars
  • πŸ“£Slack, Mattermost, Microsoft Teams, and Google Chat
  • πŸ“£On-call Schedule Rotations
  • πŸ“£Maintenance Windows
  • ✨Docker Commands Cheat Sheet
  • πŸͺ„Slack Channel Stakeholder Notifications
  • πŸ“£PagerTree Live Call Routing
  • 🧠The Science of On-Call
  • ✨serverless
    • 🧠What is Serverless?
    • 🧠Serverless Scales
    • 🧠Serverless Costs
    • ✨Serverless Tools and Best Practices
  • ✨Prometheus Monitoring Tutorial
Powered by GitBook
On this page
  • Command Line Interface (CLI) Features
  • Command Examples
  • Get Started Now

Was this helpful?

Meet the PagerTree CLI: Your New On-Call Sidekick!

The PagerTree Command Line Interface (CLI) is here! Manage alerts and integrations from your terminal with this open-source tool. Try it today!

PreviousPagerTree BlogNextOpsGenie Shutdown Announced: Why PagerTree Is Your Best Alternative in 2025

Last updated 4 days ago

Was this helpful?

Today, we are excited to release the all-new PagerTree Command Line Interface (CLI), a slick tool for managing alerts and integrations from your terminal.

The PagerTree CLI is all about speed and "scriptability". Automate alert handling in scripts, manage integrations in seconds, and stay in your terminal flow. Plus, it’s so you can tweak it to your heart’s content. Check out the to dive in!

Command Line Interface (CLI) Features

Here’s an overview of what the PagerTree CLI can do:

  • Windows and Linux Support: Written in Python and wrapped as an executable, the CLI can be run on Windows (pagertree.exe ) and Linux (pagertree) for cross-platform support.

  • Clean Outputs: List and search commands support paginated results (--limit and --offset) and tidy tables.

  • Search: List commands support search.

  • Alerts: Create, list, show, acknowledge, and resolve alerts easily. Filter by status to cut through the noise. Search by title or tag to find the alert you are looking for.

  • Broadcasts: Create broadcasts from the terminal.

  • Integrations: Enable or disable integrations.

  • Teams: Check who is oncall for a given team.

  • Users: Add or delete users from your PagerTree account.

Command Examples

# Show all the integrations that are enabled
pagertree integrations list --enabled
# Disable a specific integration
pagertree integrations disable 01JTGHFAK9T4B069Y2DDYQ3471

# List the open alerts
pagertree alerts list --status open
# Search for alerts with "datadog" in the title
pagertree alerts list --search datadog

# Show me the teams in my pagertree account
pagertree teams list
# Show me who is currently oncall for a specific team
pagertree teams current-oncall 01JTGJC37Y5MZ9EQWWGTP00AWM

Get Started Now

  1. Run: pagertree integrations list

Let’s make on-call life easier together. Try the PagerTree CLI today!

Download the .

Add your .env file with your PAGERTREE_API_KEY - .

πŸ“£
latest release
See documentation
open-source on GitHub
docs
PagerTree Command Line Interface (CLI) screenshot
PagerTree Command Line Interface (CLI) screenshot