# 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
- **バージョン:** 9.0.4
- **ソース概要:** Tool Command Language
- **ホームページ:** <https://www.tcl-lang.org>
- **最終更新:** 2026-07-16T11:32:32Z
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

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

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

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

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

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

- 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


## 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
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
