# statesmith を Homebrew でインストール

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

## インストール

```sh
sudo av install brew:statesmith
```

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

### macOS

- Homebrew (100%):

```sh
brew install statesmith
```

  証拠: local Homebrew formula metadata

## パッケージ情報

- **パッケージキー:** brew:statesmith
- **パッケージマネージャ:** Homebrew
- **バージョン:** 0.22.2
- **ソース概要:** State machine code generation tool suitable for bare metal, embedded and more
- **ホームページ:** <https://github.com/StateSmith/StateSmith>
- **リポジトリ:** <https://github.com/StateSmith/StateSmith>
- **最終更新:** 2026-05-24T03:37:42Z
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- ss.cli (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

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

StateSmith is an open-source state-machine code generator with a CLI, aimed especially at embedded and bare-metal workflows where generated code should be readable, dependency-free, and allocation-conscious.

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

The README describes StateSmith as a cross-platform tool for generating state machines in multiple programming languages, with generated code suitable for tiny bare-metal microcontrollers, games, apps, web projects, and computers.

The official About wiki explains the author's motivation: he could not find a state-machine code generator suitable for low-level embedded application use, with an attractive license and enjoyable workflow. It also explains the C# implementation choice as a way to use the open-source Roslyn compiler for parsing and code generation.

### 採用の歴史

The project moved from earlier C# script-oriented examples toward a packaged CLI. The CLI install wiki documents `ss.cli`, installable globally as a .NET tool or downloadable as a standalone binary.

The README states that the author uses StateSmith in production projects and that other companies use it in production as well, while the repository page shows ongoing releases and a sizable GitHub audience for a specialized embedded-code tool.

### 使われ方

Users model state machines with diagram tools such as PlantUML or draw.io, then run the CLI to generate source code for supported languages. Tutorials and examples are the main documented entry points.

The project is designed for teams that want diagrams and implementation to stay synchronized: generated code comes from the diagram-backed model rather than from hand-maintained state-machine code.

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

StateSmith is notable because it packages a traditionally GUI-heavy modeling niche into a command-line generator that can be installed, versioned, and run in build scripts.

For package managers, `ss.cli` is the useful unit: it turns state-machine diagrams into source artifacts without requiring an IDE plugin or proprietary modeling tool.

### タイムライン

- 2023: Official About wiki documents the project motivation and platform goals.
- 2025: CLI install wiki documents standalone binaries and .NET tool installation for `ss.cli`.
- 2026: GitHub repository page lists v0.22.2 as the latest release on May 11, 2026.

### Related projects

- Related tools and formats include PlantUML, draw.io, UML2 state machines, Roslyn, and .NET global tools.
- StateSmith also maintains examples and tutorials that show the older C# script method and newer CLI-oriented workflows.

### ソース

- <https://github.com/StateSmith/StateSmith#readme>
- <https://github.com/StateSmith/StateSmith/wiki/About>
- <https://github.com/StateSmith/StateSmith/wiki/CLI%3A-download-or-install>
- source_facts.executables
- source_facts.package-manager


## セキュリティノート

narrow executable package without higher-risk signals.

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


## Combined YAML source

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


## ソース

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