# Install structurizr-cli with Homebrew, Nix, scoop

Command-line utility for Structurizr. Version 2025.11.09 via Homebrew; verified from local package data. Also installable with nix: nix profile install nixpkgs#structurizr-cli.

## 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
- **Version:** 2025.11.09
- **Source summary:** Command-line utility for Structurizr
- **Homepage:** <https://docs.structurizr.com/cli>
- **Repository:** <https://github.com/structurizr/cli>
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- structurizr-cli (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 2025.11.09
## 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

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


## 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)


## Sources

- 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
