---
canonical: "https://agi-labo.com/tools/cockpit/docs/cockpit-cli/reference/display"
title: "cockpit display"
description: "cockpit displayの構文、オプション、結果、制約をcockpit CLIの正本から自動生成したリファレンスです。"
section: "リファレンス"
order: 108
pageType: reference
lastVerifiedVersion: 4.61.0
lastVerifiedAt: "2026-08-27"
draft: false
surfaces:
  - cli
operatingSystems:
  - windows
  - macos
  - linux
plans:
  - guest
  - member
navigation: false
---

このReference本文は、アプリが配布するcockpit CLIヘルプと同じ英語の正本から自動生成されています。日本語の概念説明と安全な使い方は[cockpit CLI](/tools/cockpit/docs/cockpit-cli)を参照してください。

Usage: `cockpit display [--text <text>|--html <html>|--file <path>|--stdin] [--title <title>] [--directory <path>] [--width <px>]`

Put a frontmost display-only message in front of the user. It never waits for a reply — use it for reminders, progress notices, or lightweight status screens.

```bash
cockpit display --text "Stretch break in 2 minutes" --title "Reminder"
cockpit display --html "<main><h1>Standup</h1><p>Starts at 10:00.</p></main>" --title "Reminder" --width 760
cockpit display --file reminder.html --title "Reminder" --width 900
cat reminder.html | cockpit display --stdin --title "Reminder" --width 900
```

Options:

- `--text <text>` — show a frontmost text display (`--summary` is an alias)
- `--html <html>` — show a frontmost HTML display
- `--file <path>` — show a frontmost HTML display from a file
- `--stdin` — read HTML from stdin
- `--title <title>` — override the display title
- `--directory <path>` — override the display directory
- `--width <px>` — set the display window width when the HTML layout needs more horizontal room

HTML displays open `http` and `https` links in the system browser without navigating the display window. Other URL schemes are ignored.
