# Install structurizr-cli with Homebrew, Nix, scoop

Command-line utility for Structurizr. Version 2025.11.09 via Homebrew; verified from local package data.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

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

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

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

  Evidence: 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
```

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

## Package facts

- **Package key:** brew:structurizr-cli
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/structurizr-cli>
- **Version:** 2025.11.09
- **Source summary:** Command-line utility for Structurizr
- **Homepage:** <https://docs.structurizr.com/cli>
- **Repository:** <https://github.com/structurizr/cli>
- **Upstream docs:** <https://docs.structurizr.com/cli>
- **License:** Apache-2.0
- **Source archive:** <https://github.com/structurizr/cli/releases/download/v2025.11.09/structurizr-cli.zip>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- structurizr-cli (cli)
- structurizr-cli (alias)

## Dependencies

- openjdk

## Install behavior

- Post-install hook: not defined
- Bottle: available on all

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 2025.11.09
- Local data: ok
- Upstream repository: https://github.com/structurizr/cli
- info: No package-manager update timestamp was available.
- info: No cached GitHub release or tag data was available.
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

- 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.

### Sources

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


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** structurizr-cli
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** yes
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Other Package-Manager Records

- 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


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [openjdk](https://www.automicvault.com/pkg/brew/openjdk/) - Runtime dependency declared by Homebrew.
- [structurizr](https://www.automicvault.com/pkg/brew/structurizr/) - Package name indicates the same formula family.
- [likec4](https://www.automicvault.com/pkg/brew/likec4/) - Shares av.db curated category or tags: architecture, c4-model, cli, developer-tools.
- [mermaid-cli](https://www.automicvault.com/pkg/brew/mermaid-cli/) - Shares av.db curated category or tags: cli, developer-tools, diagrams.
- [calm-cli](https://www.automicvault.com/pkg/brew/calm-cli/) - Shares av.db curated category or tags: architecture, cli, developer-tools.
- [overarch](https://www.automicvault.com/pkg/brew/overarch/) - Shares av.db curated category or tags: c4-model, cli, developer-tools, software-architecture.
- [tach](https://www.automicvault.com/pkg/brew/tach/) - Shares av.db curated category or tags: architecture, cli, developer-tools.
- [bpmnlint](https://www.automicvault.com/pkg/brew/bpmnlint/) - Shares av.db curated category or tags: cli, developer-tools, diagrams.
- [d2](https://www.automicvault.com/pkg/brew/d2/) - Shares av.db curated category or tags: cli, developer-tools, diagrams.

## Combined YAML source

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


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
