# Installer swi-prolog avec Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, chocolatey, winget, zypper, scoop

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de swi-prolog pour les workflows d'agents IA.

## installation

```sh
sudo av install brew:swi-prolog
```

Commandes d'installation supplémentaires:

### macOS

- Homebrew (100%):

```sh
brew install swi-prolog
```

  Preuve: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install swi-prolog
```

  Preuve: MacPorts ports tree: lang/swi-prolog/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add swi-prolog
```

  Preuve: Alpine Linux edge package indexes: swi-prolog from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install swi-prolog
```

  Preuve: Debian stable package indexes: swi-prolog from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install swi-prolog
```

  Preuve: Fedora Rawhide package metadata: swi-prolog from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#swi-prolog
```

  Preuve: nixpkgs package indexes: pkgs/by-name/sw/swi-prolog/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S swi-prolog
```

  Preuve: Arch Linux sync databases: swi-prolog from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install swipl
```

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

### Windows

- Chocolatey (92%):

```sh
choco install SWI-Prolog
```

  Preuve: Chocolatey community package catalog: SWI-Prolog from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='8.8696','genymotion'

- winget (92%):

```sh
winget install --id SWI-Prolog.SWI-Prolog -e
```

  Preuve: Windows Package Manager source index: SWI-Prolog.SWI-Prolog from https://cdn.winget.microsoft.com/cache/source.msix

- Scoop (92%):

```sh
scoop install extras/swipl
```

  Preuve: Scoop official bucket manifest trees: bucket/swipl.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1

## Faits du paquet

- **Clé du paquet:** brew:swi-prolog
- **Gestionnaire de paquets:** Homebrew
- **Version:** 10.0.2
- **Résumé source:** ISO/Edinburgh-style Prolog interpreter
- **Page d'accueil:** <https://www.swi-prolog.org/>
- **Dépôt:** <https://github.com/SWI-Prolog/swipl-devel>
- **Généré:** 2026-08-03T19:37:03+00:00

## exécutables

- swipl (alias)
- swipl-ld (alias)
- swipl-win (alias)

## Comportement d'installation

- Bouteille: non disponible

## Version et fraîcheur

- page générée: 2026-08-03
- version du gestionnaire: 10.0.2
## Historique du projet et usages

SWI-Prolog is a long-running open-source implementation of Prolog, packaged for Unix-like systems, Windows package managers, and language-specific workflows. For CLI users it is best known through the swipl executable, an interactive top level, compiler/runtime, and development environment for logic-programming projects.

### Historique du projet

The official manual says SWI-Prolog began in 1986 to support recursive interaction between Prolog and C, at a time when Prolog systems were less integrated with their host environments. The project's own site summarizes its public history as starting in 1987 and being driven by real-world application needs.

### Historique d'adoption

SWI-Prolog's documentation describes it as widely used in education and research, and also in 24x7 commercial server processes. The project reports over a million downloads and notes that applications range from student assignments to commercial codebases with more than one million lines of Prolog.

### Modes d'utilisation

The normal Unix entry point is swipl. Users start an interactive session, load Prolog source files, run queries, build applications, install packs, or use the runtime in larger systems through C, C++, Java, Python, web, RDF, and other interfaces documented by the project.

### Pourquoi les passionnés de paquets s'y intéressent

SWI-Prolog matters to package maintainers because it is both a language runtime and a batteries-included development environment. It has native libraries, optional packages, documentation generation, a pack ecosystem, source builds with submodules, stable and development release tracks, and enough platform reach that packaging it is a real integration exercise rather than a simple single-binary install.

### Chronologie

- 1986: Implementation history begins with the need for recursive Prolog and C interaction.
- 1987: Project site describes SWI-Prolog as starting in this year.
- 2007: SWI-Prolog and YAP establish a compatibility framework for portable Prolog programs.
- 2014: Primary git repository moved to GitHub.
- 2026: Official manual describes SWI-Prolog 10.1.x and ongoing stable/development release tracks.

### Related projects

- YAP is named in SWI-Prolog publications around Prolog portability.
- XPCE is historically tied to SWI-Prolog's graphical environment.
- SWISH provides a browser-based SWI-Prolog environment.
- The SWI-Prolog pack system is the project's add-on packaging ecosystem.

### Sources

- <https://github.com/SWI-Prolog/swipl-devel>
- <https://www.swi-prolog.org/>
- <https://www.swi-prolog.org/download/devel>
- <https://www.swi-prolog.org/news/3dc83b48-d138-11e3-9f22-00144fee017c>
- <https://www.swi-prolog.org/pldoc/man?section=implhistory>
- <https://www.swi-prolog.org/pldoc/man?section=status>


## Notes de sécurité

generalized runtime or code generation signal.

- **Risque Geiger:** yellow / moyen
- generalized runtime or code generation signal

## Autres enregistrements de gestionnaires de paquets

- Debian apt - swi-prolog - 9.2.9+dfsg-1+b1: normalized package name match | Debian stable package indexes: swi-prolog from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | ISO/Edinburgh-style Prolog interpreter | https://www.swi-prolog.org
- Debian apt - swi-prolog-bdb - 9.2.9+dfsg-1+b1: normalized package name match | Debian stable package indexes: swi-prolog-bdb from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Berkeley DB interface for SWI-Prolog | https://www.swi-prolog.org
- Debian apt - swi-prolog-core - 9.2.9+dfsg-1+b1: normalized package name match | Debian stable package indexes: swi-prolog-core from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | ISO/Edinburgh-style Prolog interpreter - core system | https://www.swi-prolog.org
- Debian apt - swi-prolog-core-packages - 9.2.9+dfsg-1+b1: normalized package name match | Debian stable package indexes: swi-prolog-core-packages from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | ISO/Edinburgh-style Prolog interpreter - core packages | https://www.swi-prolog.org
- Debian apt - swi-prolog-doc - 9.2.9+dfsg-1: normalized package name match | Debian stable package indexes: swi-prolog-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | documentation and examples for SWI-Prolog | https://www.swi-prolog.org
- Debian apt - swi-prolog-full - 9.2.9+dfsg-1+b1: normalized package name match | Debian stable package indexes: swi-prolog-full from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | ISO/Edinburgh-style Prolog interpreter - full suit | https://www.swi-prolog.org
- Debian apt - swi-prolog-java - 9.2.9+dfsg-1+b1: normalized package name match | Debian stable package indexes: swi-prolog-java from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Bidirectional interface between SWI-Prolog and Java | https://www.swi-prolog.org
- Debian apt - swi-prolog-nox - 9.2.9+dfsg-1+b1: normalized package name match | Debian stable package indexes: swi-prolog-nox from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | ISO/Edinburgh-style Prolog interpreter - without X support | https://www.swi-prolog.org
- Debian apt - swi-prolog-odbc - 9.2.9+dfsg-1+b1: normalized package name match | Debian stable package indexes: swi-prolog-odbc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | ODBC library for SWI-Prolog | https://www.swi-prolog.org
- Debian apt - swi-prolog-test - 9.2.9+dfsg-1: normalized package name match | Debian stable package indexes: swi-prolog-test from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | tests and checks for SWI-Prolog | https://www.swi-prolog.org
- Debian apt - swi-prolog-x - 9.2.9+dfsg-1+b1: normalized package name match | Debian stable package indexes: swi-prolog-x from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | User interface library for SWI-Prolog - with X support | https://www.swi-prolog.org
- Nix - swi-prolog: normalized package name match | nixpkgs package indexes: pkgs/by-name/sw/swi-prolog/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - swi-prolog - 9.0.4+dfsg-3.1ubuntu4: normalized package name match | Ubuntu 24.04 LTS package indexes: swi-prolog from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | ISO/Edinburgh-style Prolog interpreter | https://www.swi-prolog.org
- Ubuntu apt - swi-prolog-bdb - 9.0.4+dfsg-3.1ubuntu4: normalized package name match | Ubuntu 24.04 LTS package indexes: swi-prolog-bdb from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Berkeley DB interface for SWI-Prolog | https://www.swi-prolog.org
- Ubuntu apt - swi-prolog-core - 9.0.4+dfsg-3.1ubuntu4: normalized package name match | Ubuntu 24.04 LTS package indexes: swi-prolog-core from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | ISO/Edinburgh-style Prolog interpreter - core system | https://www.swi-prolog.org
- Ubuntu apt - swi-prolog-core-packages - 9.0.4+dfsg-3.1ubuntu4: normalized package name match | Ubuntu 24.04 LTS package indexes: swi-prolog-core-packages from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | ISO/Edinburgh-style Prolog interpreter - core packages | https://www.swi-prolog.org


## Combined YAML source

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


## Sources

- 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
