ドキュメント

cockpit setup

cockpit setupの構文、オプション、結果、制約をcockpit CLIの正本から自動生成したリファレンスです。

対象
CLI
WindowsmacOSLinux
無料AGIラボ会員

最終検証 2026-12-01 · v5.2.2

Markdown

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

Inspect local setup and perform explicit managed installation actions.

Unknown setup subcommands list status, headless, agent, cli, skill, and help as the supported choices.

cockpit setup status
cockpit setup headless --app /absolute/path/to/AGI-Cockpit.AppImage
cockpit setup agent status [claude|codex|antigravity|cursor|qoder|grok|muse]
cockpit setup agent install <agent>
cockpit setup agent update <agent>
cockpit setup agent update --all
cockpit setup agent cancel <agent>
cockpit setup agent cancel --all
cockpit setup agent login muse
cockpit setup cli install
cockpit setup cli uninstall --confirm
cockpit setup skill status [cockpit|html-mode|fleet]
cockpit setup skill install <skill> (--agent <agent> ... | --detected)
cockpit setup skill uninstall <html-mode|fleet> --confirm

On Linux, setup headless --app starts the specified Cockpit application in the foreground with a limited setup page on 127.0.0.1. It does not connect to a running app, launch normal tasks or Crews, or change the selected profile. Use the installed AppImage or its extracted AppRun, not the inner Electron executable. Before the CLI is installed, run that application directly with --headless --setup. The CLI applies its connection-context isolation before launching setup; no running instance is required.

Open the printed URL yourself; it expires after 30 minutes. For a remote machine, use a trusted SSH tunnel to the same loopback port. The URL grants setup access: do not share or log its fragment. Read and agree to the bundled terms in the page, create the machine encryption key, and authorize the displayed device code yourself. There is no CLI acceptance flag or input shortcut. Ctrl+C or the page's Close setup action stops this setup process. Normal headless startup remains unavailable pending Backend support and real user verification; saving setup does not start it automatically.

The Linux machine key is readable only by the owning OS user. It is not protection from that same user or root. Keep it separate from backups of encrypted credentials. A missing or damaged key is an error; setup never silently generates a replacement. Existing keyring credentials are migrated only after a successful read and verified encrypted write. Pending credential deletion remains blocked if its original keyring cannot confirm deletion.

cli install and cli uninstall edit the user's shell startup file on macOS and Linux and the user PATH on Windows. On Windows it installs cockpit.ps1 for PowerShell and cockpit.cmd for cmd.exe; run cockpit from PowerShell (see cockpit help transport). cli uninstall --confirm removes the very cockpit command the calling agent is using, so the next invocation fails until it is reinstalled from Settings.

Skill status, installation, and uninstallation apply to the running Cockpit instance. Skill installation requires explicit agent targets or --detected; uninstallation takes no agent filter and removes that skill from every agent that has it within that instance. Installation and uninstallation require Cockpit's ownership marker and refuse directories with user content. Exact legacy files generated by Cockpit are migrated to the marker on their next installation; only operating-system metadata such as .DS_Store is ignored. Cockpit's core skill is not uninstallable through this command. Setup status reads secure-storage health without running migration. Agent status is read-only and returns command, installed version, available version when supported, and changelog URL. updateAvailable is true when a newer CLI version is available, false when the installed version is current or newer, and null when either version is missing or cannot be compared. This uses the same CLI status and version comparison as Settings > Updates. Status never installs or updates agent CLIs. It also includes job (or null): queued/running/inputwaiting/succeeded/failed/cancelled, timestamps, exit code, versions before and after, failureReason for a failed job (missingTool, network, permission, or unknown), the host platform, and the sanitized last output line. Output and input are not written to logs.

agent install and agent update start a background job and return immediately with its current state. Only one job runs at a time; others queue in order. An active job for the same agent is shared, even if its mode differs. agent cancel stops that agent’s queued or running job. Closing its output viewer only detaches the viewer. Desktop and PWA show progress and can open the terminal to provide input. A question followed by 20 seconds without output is marked as waiting for input; five minutes without output shows a stall warning. Neither condition cancels the job. Quitting AGI Cockpit stops active and queued jobs.

agent update --all queues an update for every installed agent CLI whose installed version is older than its latest version, the same agents counted by Settings > Updates > Agent CLIs > Update all. Agents that are not installed, are current, or whose versions cannot be compared are skipped. It returns immediately with jobs: the queued agents' jobs in the order they run, including an already active job for one of those agents. A failed update does not stop the rest. A job waiting for input keeps its place and holds the queue until it receives input or is stopped; agent cancel <agent> stops only that job and lets the next one start. agent cancel --all stops the running job and removes every queued job, returning their states in jobs. Follow progress with agent status.

For muse, agent status also returns auth, the same sign-in state Settings > Agents > Muse Code shows: authMode (muse-login or api-key), account (emailAddress and name of the account signed in with muse login, or null when signed out), apiKeySaved (whether a Meta API key is saved; the key itself is never returned), and inheritedApiKeyPresent (whether Cockpit itself was started with META_API_KEY; Cockpit removes that inherited key before starting Muse Code's visual UI). Reading it never starts Muse Code. cockpit setup agent login muse opens Settings > Agents > Muse Code in the local Cockpit and starts the same muse login sign-in as its Sign in button; it returns once the request is sent or queued (delivery), not after the sign-in completes. Muse Code keeps one sign-in per user, so there are no Muse Code account profiles; sign in to other agents with cockpit accounts login --agent-type <agent>. AGI Cockpit's own AGI Lab sign-in is cockpit account.