# tcl-tk を Homebrew, apk, apt, MacPorts, Nix, scoop, zypper でインストール

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

## インストール

```sh
sudo av install brew:tcl-tk
```

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

### macOS

- Homebrew (100%):

```sh
brew install tcl-tk
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install critcl
```

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

### Linux

- apk (92%):

```sh
sudo apk add critcl
```

  証拠: Alpine Linux edge package indexes: critcl from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install critcl
```

  証拠: Debian stable package indexes: critcl from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#page
```

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

- zypper (92%):

```sh
sudo zypper install tcl
```

  証拠: openSUSE Tumbleweed package metadata: tcl from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- Scoop (92%):

```sh
scoop install main/pt
```

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

## パッケージ情報

- **パッケージキー:** brew:tcl-tk
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/tcl-tk>
- **バージョン:** 9.0.4
- **ソース概要:** Tool Command Language
- **ホームページ:** <https://www.tcl-lang.org>
- **上流ドキュメント:** <https://www.tcl-lang.org>
- **ライセンス:** TCL
- **ソースアーカイブ:** <https://downloads.sourceforge.net/project/tcl/Tcl/9.0.4/tcl9.0.4-src.tar.gz>
- **最終更新:** 2026-07-16T11:32:32Z
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- critcl (cli)
- dtplite (cli)
- mkdoc (cli)
- nns (cli)
- nnsd (cli)
- nnslog (cli)
- page (cli)
- pt (cli)
- tcldocstrip (cli)
- tclsh (cli)
- tclsh9.0 (cli)
- wish (cli)
- wish9.0 (cli)
- critcl (エイリアス)
- dtplite (エイリアス)
- mkdoc (エイリアス)
- nns (エイリアス)
- nnsd (エイリアス)
- nnslog (エイリアス)
- page (エイリアス)
- pt (エイリアス)
- tcldocstrip (エイリアス)
- tclsh (エイリアス)
- tclsh9.0 (エイリアス)
- wish (エイリアス)
- wish9.0 (エイリアス)

## 依存関係

- libtommath
- openssl@3

## インストール挙動

- post-install フック: 未定義
- 注意点: The sqlite3_analyzer binary is in the `sqlite-analyzer` formula.
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 9.0.4
- マネージャ更新日: 2026-07-16
- ローカルデータ: OK
- 上流リポジトリ: https://www.tcl-lang.org
- 情報: Release/tag comparison is only available for GitHub repositories.
## プロジェクトの歴史と使われ方

Tcl/Tk combines the Tcl embeddable scripting language with the Tk GUI toolkit, giving Unix and cross-platform software a scriptable command language and a portable desktop UI toolkit.

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

John Ousterhout's official history traces Tcl to Berkeley design-tool work in the early 1980s and to a 1987 idea for a reusable embeddable command language. He began implementation in 1988, and the name Tcl came from its role as a Tool Command Language.

Tk grew from the same design philosophy: Ousterhout wanted reusable GUI components that could be integrated by a scripting language. Work on Tk began in the late 1980s, with the first Internet release following conference presentations in January 1991.

The modern Tcl/Tk project is maintained through canonical source repositories at core.tcl-lang.org. As of the official 2026 project pages, Tcl/Tk 9.0 is the current major release, while Tcl/Tk 8.6 remains a legacy release line.

### 採用の歴史

Tcl spread through early Unix and Internet distribution channels. Ousterhout describes giving out early copies in 1989, presenting Tcl at USENIX in January 1990, and then making source freely available from Berkeley FTP.

Expect was an early breakthrough application: Don Libes built it on Tcl after hearing the USENIX talk, and it became especially popular with system administrators. Tk then accelerated adoption by making Unix GUI development much easier than C-based toolkits such as Motif.

The Tcl project site still positions Tcl as useful for web and desktop applications, networking, administration, testing, and other cross-platform integration work.

### 使われ方

Package-manager users install Tcl/Tk for the tclsh interpreter, the wish Tk shell, Tk-based applications, build-time scripting, test harnesses, and the long tail of Tcl extensions and tools.

In Homebrew, the current tcl-tk formula tracks the modern upstream line, exposing versioned executables such as tclsh9.0 and wish9.0 alongside Tcl ecosystem helper commands.

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

Tcl/Tk matters in package culture because it is both runtime and dependency infrastructure: old Unix software, Tk GUI programs, Expect-style automation, and extension build systems often assume a working Tcl installation.

It is also a reminder that package managers preserve compatibility layers. Tcl/Tk is mature software, but the split between current 9.x and legacy 8.6 lines makes versioned formulas important for users who need old extensions or newer language/runtime behavior.

### タイムライン

- 1987: Ousterhout conceived Tcl as an embeddable command language.
- 1988: Tcl implementation began at Berkeley.
- 1989: Early copies of Tcl were distributed to interested users.
- 1990: Tcl was presented at USENIX and made freely available by FTP.
- 1991: Tk had its first Internet release after USENIX and X Conference presentations.
- 2012: Tcl/Tk 8.6 first released, according to the official 8.6 page.
- 2024: Tcl/Tk 9.0 became the successor major release line.
- 2026: Tcl/Tk 9.0.4 and 8.6.18 listed as current official source releases.

### Related projects

- Tk is the GUI toolkit paired with Tcl and is released with it.
- Expect, Tcllib, Tklib, TclOO, Thread, and TDBC are part of the broader Tcl ecosystem documented by the core development site.

### ソース

- <https://core.tcl-lang.org/index.html>
- <https://www.tcl-lang.org/>
- <https://www.tcl-lang.org/about/history.html>
- <https://www.tcl-lang.org/software/tcltk/8.6.html>
- <https://www.tcl-lang.org/software/tcltk/9.0.html>


## セキュリティノート

narrow executable package without higher-risk signals.

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

## ソースデータベース詳細

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** tcl-tk
- **Aliases:** tcl-tk@9
- **Version Scheme:** 0
- **Revision:** 0
- **Conflicts With:** page, the_platinum_searcher
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

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

- MacPorts - critcl: installed executable or alias match | MacPorts ports tree: lang/critcl/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Debian apt - critcl - 3.3.1+dfsg-1: installed executable or alias match | Debian stable package indexes: critcl from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | compiled runtime in Tcl | https://andreas-kupries.github.com/critcl/
- Nix - page: installed executable or alias match | nixpkgs package indexes: pkgs/by-name/pa/page/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Nix - pt: installed executable or alias match | nixpkgs package indexes: pkgs/by-name/pt/pt/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - critcl - 3.1.18.1+dfsg-3: installed executable or alias match | Ubuntu 24.04 LTS package indexes: critcl from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | compiled runtime in Tcl | https://andreas-kupries.github.com/critcl/
- apk - critcl - 3.3.1-r1: installed executable or alias match | Alpine Linux edge package indexes: critcl from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Compiled Runtime in Tcl | https://andreas-kupries.github.io/critcl/
- apk - critcl-doc - 3.3.1-r1: installed executable or alias match | Alpine Linux edge package indexes: critcl-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Compiled Runtime in Tcl (documentation) | https://andreas-kupries.github.io/critcl/
- zypper - tcl - 8.6.18-1.3: installed executable or alias match | openSUSE Tumbleweed package metadata: tcl from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | The Tcl Programming Language | http://www.tcl.tk
- zypper - tk - 8.6.18-1.3: installed executable or alias match | openSUSE Tumbleweed package metadata: tk from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Graphical User Interface Toolkit for Tcl | http://www.tcl.tk
- Scoop - main/pt: installed executable or alias match | Scoop official bucket manifest trees: bucket/pt.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## 関連リンク

- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://pkg.so/ja/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://pkg.so/ja/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://pkg.so/ja/brew-utility-packages/) - Matched Homebrew package provider.
- [openssl@3](https://pkg.so/ja/brew/openssl-3/) - Runtime dependency declared by Homebrew.
- [git-gui](https://pkg.so/ja/brew/git-gui/) - Popular package that depends on this formula.
- [r](https://pkg.so/ja/brew/r/) - Popular package that depends on this formula.
- [texlive](https://pkg.so/ja/brew/texlive/) - Popular package that depends on this formula.
- [weechat](https://pkg.so/ja/brew/weechat/) - Popular package that depends on this formula.
- [yosys](https://pkg.so/ja/brew/yosys/) - Popular package that depends on this formula.
- [tcl-tk@8](https://pkg.so/ja/brew/tcl-tk-8/) - Package name indicates the same formula family.
- [php](https://pkg.so/ja/brew/php/) - Shares pkgdb curated category or tags: cli, language-runtime, programming-language, runtime.
- [perl](https://pkg.so/ja/brew/perl/) - Shares pkgdb curated category or tags: cli, language-runtime, programming-language, runtime.
- [erlang](https://pkg.so/ja/brew/erlang/) - Shares pkgdb curated category or tags: cli, language-runtime, programming-language, runtime.
- [gauche](https://pkg.so/ja/brew/gauche/) - Shares pkgdb curated category or tags: cli, language-runtime, programming-language, runtime.
- [php@8.3](https://pkg.so/ja/brew/php-8-3/) - Shares pkgdb curated category or tags: cli, language-runtime, programming-language, runtime.
- [php@8.2](https://pkg.so/ja/brew/php-8-2/) - Shares pkgdb curated category or tags: cli, language-runtime, programming-language, runtime.
- [erlang@26](https://pkg.so/ja/brew/erlang-26/) - Local package facts share a topical domain. Shared terms: cli, language, language-runtime, openssl, openssl-3.

## Combined YAML source

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


## ソース

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