# 使用 Homebrew, MacPorts, winget 安装 logtalk

查看 logtalk 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:logtalk
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install logtalk
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install logtalk
```

  证据: MacPorts ports tree: lang/logtalk/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Windows

- winget (92%):

```sh
winget install --id Logtalk.Logtalk -e
```

  证据: Windows Package Manager source index: Logtalk.Logtalk from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:logtalk
- **软件包管理器:** Homebrew
- **版本:** 3.101.0
- **来源摘要:** Declarative object-oriented logic programming language
- **主页:** <https://logtalk.org/>
- **仓库:** <https://github.com/LogtalkDotOrg/logtalk3>
- **最后更新:** 2026-07-23T17:20:34Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- bplgt (别名)
- ciaolgt (别名)
- cxlgt (别名)
- eclipselgt (别名)
- gplgt (别名)
- jiplgt (别名)
- lgt2html (别名)
- lgt2md (别名)
- lgt2pdf (别名)
- lgt2rst (别名)
- lgt2svg (别名)
- lgt2txt (别名)
- lgt2xml (别名)
- lgtenv (别名)
- logtalk_allure_report (别名)
- logtalk_backend_select (别名)
- logtalk_doclet (别名)
- logtalk_setup_env.sh (别名)
- logtalk_tester (别名)
- logtalk_user_setup (别名)
- logtalk_version_select (别名)
- quintuslgt (别名)
- sicstuslgt (别名)
- swilgt (别名)
- taulgt (别名)
- tplgt (别名)
- xsblgt (别名)
- xvmlgt (别名)
- yaplgt (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 3.101.0
## 项目历史与用法

Logtalk is a declarative object-oriented logic programming language that extends Prolog with encapsulation, code reuse, protocols, categories, events, and tooling for programming in the large.

### 项目历史

The Logtalk project began in January 1998. Official Logtalk materials state that the first public alpha appeared in July 1998, the first public beta in October 1998, and the first stable 2.0 release in February 1999.

Logtalk's third generation started in 2012, with the first public alpha in August 2012 and the stable 3.0.0 release in January 2015. The official GitHub repository for `logtalk3` was created in August 2012, matching that third-generation development line.

The upstream README describes Logtalk as a portable trans-compiler that can use most modern standards-compliant Prolog systems as backend compilers. Its distribution includes documentation, tutorials, libraries, developer tools, examples, man pages, and release notes.

### 采用历史

Logtalk is specialized rather than mainstream, but it has had unusually long continuity for a language package. The official site provides installers and documentation, and the supplied package facts list availability through Homebrew, MacPorts, and Windows Package Manager.

Its adoption is tied to the Prolog ecosystem: Logtalk offers a common object-oriented and component-oriented layer above multiple backend Prolog compilers, so package managers tend to expose many integration scripts such as `swilgt`, `gplgt`, `sicstuslgt`, and others.

### 使用方式

Users run Logtalk through backend-specific integration scripts and load `.lgt` source files. The manual documents `settings.lgt` files for customizing compiler flags and library paths, searched from startup, user, home, and platform config directories.

The package also ships documentation conversion and testing tools such as `lgt2html`, `lgt2md`, `lgt2pdf`, and `logtalk_tester`, making it both a language runtime and a developer-tool suite.

### 为什么软件包爱好者会关心

Logtalk matters in package history because it is a rare long-running logic-language layer whose package surface is mostly integration scripts. Maintaining it is less about one binary and more about connecting a portable language implementation to many Prolog backends and documentation tools.

### 时间线

- 1998: Project started in January; first public alpha released in July.
- 1999: First stable 2.0 release published in February.
- 2012: Third-generation development starts and the `logtalk3` repository is created.
- 2015: Logtalk 3.0.0 stable release published.
- 2026: Logtalk 3.100.x tags appear in the official repository.

### Related projects

- Logtalk is designed to run on top of backend Prolog systems, including SWI-Prolog, GNU Prolog, SICStus Prolog, XSB, YAP, and others documented by its integration scripts.
- It is related to Prolog module systems, object-oriented Prolog extensions, and multi-paradigm logic programming environments.

### 来源

- <https://api.github.com/repos/LogtalkDotOrg/logtalk3>
- <https://github.com/LogtalkDotOrg/logtalk3#readme>
- <https://logtalk.org/documentation.html>
- <https://logtalk.org/handbook/index.html>
- <https://logtalk.org/manuals/userman/programming.html>
- source_facts.package-manager


## 安全说明

generalized runtime or code generation signal.

- **Geiger 风险:** yellow / 中
- generalized runtime or code generation signal


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: $LOGTALK_STARTUP_DIRECTORY/settings.lgt, $LOGTALKUSER/settings.lgt, ~/settings.lgt, $XDG_CONFIG_HOME/logtalk/settings.lgt, ~/.config/logtalk/settings.lgt
- Windows: %USERPROFILE%\settings.lgt, %APPDATA%\Logtalk\settings.lgt
## 其他软件包管理器记录

- MacPorts - logtalk: normalized package name match | MacPorts ports tree: lang/logtalk/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- winget - Logtalk.Logtalk: normalized package name match | Windows Package Manager source index: Logtalk.Logtalk from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
