# structurizr-cli を Homebrew, Nix, scoop でインストール

structurizr-cli のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:structurizr-cli
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install structurizr-cli
```

  証拠: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#structurizr-cli
```

  証拠: nixpkgs package indexes: pkgs/by-name/st/structurizr-cli/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

### Windows

- Scoop (92%):

```sh
scoop install extras/structurizr-cli
```

  証拠: Scoop official bucket manifest trees: bucket/structurizr-cli.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1

## パッケージ情報

- **パッケージキー:** brew:structurizr-cli
- **パッケージマネージャ:** Homebrew
- **バージョン:** 2025.11.09
- **ソース概要:** Command-line utility for Structurizr
- **ホームページ:** <https://docs.structurizr.com/cli>
- **リポジトリ:** <https://github.com/structurizr/cli>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- structurizr-cli (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 2025.11.09
## プロジェクトの歴史と使われ方

Structurizr CLI is the command-line companion to the Structurizr DSL, built for teams that keep software architecture models and diagrams in version control. It packages C4-model diagram workflows into commands that can be run locally, in Docker, or in CI.

### プロジェクトの歴史

Official documentation describes the CLI as a utility used with Structurizr DSL. Its command set covers pushing and pulling workspaces, locking and unlocking workspaces, exporting diagrams, merging layout data, listing elements, validating workspaces, and inspecting workspaces.

The current official documentation marks Structurizr CLI as end-of-life and directs users to the newer consolidated Structurizr commands. That places the Homebrew formula in a legacy-tooling role for users and CI pipelines that still depend on the older standalone CLI.

### 採用の歴史

The official installation page documents local zip installation, Docker use, Homebrew on macOS, Scoop on Windows, GitHub Actions, GitLab CI examples, and a Gradle plugin. The input package facts also show Homebrew, Nix, and Scoop distribution.

### 使われ方

Typical CLI usage is architecture-as-code automation: export a `workspace.dsl` or JSON workspace to PlantUML, Mermaid, WebSequenceDiagrams, DOT, Ilograph, static HTML, or JSON; validate workspaces in CI; and push/pull workspaces to Structurizr cloud or on-premises installations.

### パッケージ好きにとっての重要性

Package maintainers care about Structurizr CLI because it made C4-model architecture diagrams scriptable. It is a Java-based command-line artifact with cross-platform launchers, Docker images, and package-manager formulas that fit naturally into repository-centric documentation workflows.

### タイムライン

- Current: Official docs describe Structurizr CLI as end-of-life and recommend migrating to new consolidated commands.
- Current: Official installation docs list Homebrew, Scoop, Docker, GitHub Actions, GitLab CI, and Gradle integration paths.

### Related projects

- Structurizr DSL, Structurizr cloud service, Structurizr on-premises, Structurizr local/server commands, PlantUML, Mermaid, WebSequenceDiagrams, DOT, Ilograph, and C4-PlantUML are documented as related parts of the CLI workflow.

### ソース

- <https://docs.structurizr.com/cli>
- <https://docs.structurizr.com/cli/installation>
- <https://docs.structurizr.com/dsl>
- source_facts.package-manager


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

## 他のパッケージマネージャ記録

- Nix - structurizr-cli: normalized package name match | nixpkgs package indexes: pkgs/by-name/st/structurizr-cli/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Scoop - extras/structurizr-cli: normalized package name match | Scoop official bucket manifest trees: bucket/structurizr-cli.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/structurizr-cli.yml](https://github.com/mxcl/pkgdb/blob/main/combined/structurizr-cli.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
