# cbmbasic を Homebrew, MacPorts, Nix でインストール

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

## インストール

```sh
sudo av install brew:cbmbasic
```

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

### macOS

- Homebrew (100%):

```sh
brew install cbmbasic
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install cbmbasic
```

  証拠: MacPorts ports tree: lang/cbmbasic/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#cbmbasic
```

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

## パッケージ情報

- **パッケージキー:** brew:cbmbasic
- **パッケージマネージャ:** Homebrew
- **バージョン:** 1.0
- **ソース概要:** Commodore BASIC V2 as a scripting language
- **ホームページ:** <https://github.com/mist64/cbmbasic>
- **リポジトリ:** <https://github.com/mist64/cbmbasic>
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- cbmbasic (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

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

cbmbasic is a portable native implementation of Commodore BASIC V2, presented as a command-line interpreter and Unix scripting language.

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

The official README describes cbmbasic as a 100% compatible version of Commodore's Microsoft BASIC 6502 as found on the Commodore 64, but implemented natively rather than by emulating 6502 code. The public GitHub repository was created in 2014.

### 採用の歴史

The README documents testing on Mac OS X, Debian Linux, and Windows NT-era Visual Studio toolchains, while supplied package facts show packaging in Homebrew, MacPorts, and Nix. Its audience is retro-computing users who want Commodore BASIC available as a normal host executable.

### 使われ方

Users can run cbmbasic interactively, pass an ASCII BASIC file on the command line, or add a hashbang line to run BASIC programs as Unix scripts. The README also documents a plugin-style extension path for additional statements and functions.

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

cbmbasic is a small package-manager gem: installing it drops a historically recognizable 8-bit BASIC dialect into a modern shell, with no emulator stack. It matters less as infrastructure and more as a portable preservation and scripting curiosity.

### タイムライン

- 2014: Public GitHub repository created.
- 2026: Repository metadata showed recent activity and an unarchived project.

### Related projects

- The README ties cbmbasic directly to Commodore BASIC V2, Microsoft BASIC 6502, the Commodore 64, and optional ANSI-style extensions documented in the repository.

### ソース

- <https://api.github.com/repos/mist64/cbmbasic>
- <https://github.com/mist64/cbmbasic>
- <https://github.com/mist64/cbmbasic#readme>
- <https://github.com/mist64/cbmbasic/blob/master/ANSI_Extension.md>
- <https://formulae.brew.sh/api/formula/cbmbasic.json>


## セキュリティノート

generalized runtime or code generation signal.

- **Geiger リスク:** yellow / 中
- generalized runtime or code generation signal

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

- Nix - cbmbasic: normalized package name match | nixpkgs package indexes: pkgs/by-name/cb/cbmbasic/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - cbmbasic: normalized package name match | MacPorts ports tree: lang/cbmbasic/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/cbmbasic.yml](https://github.com/mxcl/pkgdb/blob/main/combined/cbmbasic.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
