Automic VaultAutomic Vault

brew

Install swi-prolog with Homebrew, apk, chocolatey, apt, dnf, MacPorts, Nix, pacman, winget, zypper, scoop

ISO/Edinburgh-style Prolog interpreter. Version 10.0.2 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install swi-prolog

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install swi-prolog

MacPorts ports tree · lang/swi-prolog/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add swi-prolog

Alpine Linux edge package indexes · swi-prolog · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install swi-prolog

Debian stable package indexes · swi-prolog · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install swi-prolog

Fedora Rawhide package metadata · swi-prolog · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#swi-prolog

nixpkgs package indexes · pkgs/by-name/sw/swi-prolog/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S swi-prolog

Arch Linux sync databases · swi-prolog · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install swipl

openSUSE Tumbleweed package metadata · swipl · source: download.opensuse.org

Windows

Chocolateyverified · 92%
choco install SWI-Prolog

Chocolatey community package catalog · SWI-Prolog · source: community.chocolatey.org

Windows Package Managerverified · 92%
winget install --id SWI-Prolog.SWI-Prolog -e

Windows Package Manager source index · SWI-Prolog.SWI-Prolog · source: cdn.winget.microsoft.com

Scoopverified · 92%
scoop install extras/swipl

Scoop official bucket manifest trees · bucket/swipl.json · source: api.github.com

overview

Package summary

ISO/Edinburgh-style Prolog interpreter

Commands and aliases

  • swipl
  • swipl-ld
  • swipl-win

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 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.

security posture

Risk level: yellow

generalized runtime or code generation signal.

Risk classifier

yellow risk · medium confidence · runtime

Why

  • generalized runtime or code generation signal

Signals

  • text:interpreter

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 7 runtime dependencies.
  • Build metadata lists 2 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
swiplcliglobal executable
swipl-ldcliglobal executable
swipl-wincliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version10.0.2
manager updated
local dataok
upstreamnot checked
latest detectednot detected

https://www.swi-prolog.org/

  • infoNo package-manager update timestamp was available.low confidence
  • infoRelease/tag comparison is only available for GitHub repositories.https://www.swi-prolog.org/none confidence

install metadata

Package metadata

Package keybrew:swi-prolog
Version10.0.2
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/swi-prolog
Homepagehttps://www.swi-prolog.org/
Repositoryhttps://github.com/SWI-Prolog/swipl-devel
Upstream docshttps://github.com/SWI-Prolog/swipl-devel#readme
LicenseBSD-2-Clause
Source archivehttps://www.swi-prolog.org/download/stable/src/swipl-10.0.2.tar.gz
Dependenciesberkeley-db@5, gmp, libarchive, libyaml, openssl@3, pcre2, unixodbc
Build dependenciescmake, pkgconf
Uses from macOSlibedit, libxcrypt, ncurses
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameswi-prolog
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

swi-prolog 9.2.9+dfsg-1+b1

ISO/Edinburgh-style Prolog interpreter

https://www.swi-prolog.org

sudo apt install swi-prolog
  • Section: interpreters
  • Architecture: amd64
  • Source Package: swi-prolog
  • 3 dependencies
  • normalized package name match
  • Matched by: Swi Prolog
Debian stable package indexes · deb.debian.org · Debian stable package indexes: swi-prolog from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

swi-prolog-bdb 9.2.9+dfsg-1+b1

Berkeley DB interface for SWI-Prolog

https://www.swi-prolog.org

sudo apt install swi-prolog-bdb
  • Section: interpreters
  • Architecture: amd64
  • Source Package: swi-prolog
  • 3 dependencies
  • normalized package name match
  • Matched by: Swi Prolog
Debian stable package indexes · deb.debian.org · Debian stable package indexes: swi-prolog-bdb from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

swi-prolog-core 9.2.9+dfsg-1+b1

ISO/Edinburgh-style Prolog interpreter - core system

https://www.swi-prolog.org

sudo apt install swi-prolog-core
  • Section: interpreters
  • Architecture: amd64
  • Source Package: swi-prolog
  • 5 dependencies
  • 7 provides
  • 7 optional deps
  • normalized package name match
  • Matched by: Swi Prolog
Debian stable package indexes · deb.debian.org · Debian stable package indexes: swi-prolog-core from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

swi-prolog-core-packages 9.2.9+dfsg-1+b1

ISO/Edinburgh-style Prolog interpreter - core packages

https://www.swi-prolog.org

sudo apt install swi-prolog-core-packages
  • Section: interpreters
  • Architecture: amd64
  • Source Package: swi-prolog
  • 7 dependencies
  • 6 optional deps
  • normalized package name match
  • Matched by: Swi Prolog
Debian stable package indexes · deb.debian.org · Debian stable package indexes: swi-prolog-core-packages from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

swi-prolog-doc 9.2.9+dfsg-1

documentation and examples for SWI-Prolog

https://www.swi-prolog.org

sudo apt install swi-prolog-doc
  • Section: doc
  • Architecture: all
  • Source Package: swi-prolog
  • 1 dependencies
  • normalized package name match
  • Matched by: Swi Prolog
Debian stable package indexes · deb.debian.org · Debian stable package indexes: swi-prolog-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

swi-prolog-full 9.2.9+dfsg-1+b1

ISO/Edinburgh-style Prolog interpreter - full suit

https://www.swi-prolog.org

sudo apt install swi-prolog-full
  • Section: interpreters
  • Architecture: amd64
  • Source Package: swi-prolog
  • 4 dependencies
  • normalized package name match
  • Matched by: Swi Prolog
Debian stable package indexes · deb.debian.org · Debian stable package indexes: swi-prolog-full from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

swi-prolog-java 9.2.9+dfsg-1+b1

Bidirectional interface between SWI-Prolog and Java

https://www.swi-prolog.org

sudo apt install swi-prolog-java
  • Section: interpreters
  • Architecture: amd64
  • Source Package: swi-prolog
  • 5 dependencies
  • normalized package name match
  • Matched by: Swi Prolog
Debian stable package indexes · deb.debian.org · Debian stable package indexes: swi-prolog-java from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

swi-prolog-nox 9.2.9+dfsg-1+b1

ISO/Edinburgh-style Prolog interpreter - without X support

https://www.swi-prolog.org

sudo apt install swi-prolog-nox
  • Section: interpreters
  • Architecture: amd64
  • Source Package: swi-prolog
  • 11 dependencies
  • 5 optional deps
  • normalized package name match
  • Matched by: Swi Prolog
Debian stable package indexes · deb.debian.org · Debian stable package indexes: swi-prolog-nox from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

swi-prolog-odbc 9.2.9+dfsg-1+b1

ODBC library for SWI-Prolog

https://www.swi-prolog.org

sudo apt install swi-prolog-odbc
  • Section: interpreters
  • Architecture: amd64
  • Source Package: swi-prolog
  • 3 dependencies
  • normalized package name match
  • Matched by: Swi Prolog
Debian stable package indexes · deb.debian.org · Debian stable package indexes: swi-prolog-odbc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

swi-prolog-test 9.2.9+dfsg-1

tests and checks for SWI-Prolog

https://www.swi-prolog.org

sudo apt install swi-prolog-test
  • Section: interpreters
  • Architecture: all
  • Source Package: swi-prolog
  • 1 dependencies
  • normalized package name match
  • Matched by: Swi Prolog
Debian stable package indexes · deb.debian.org · Debian stable package indexes: swi-prolog-test from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

swi-prolog-x 9.2.9+dfsg-1+b1

User interface library for SWI-Prolog - with X support

https://www.swi-prolog.org

sudo apt install swi-prolog-x
  • Section: interpreters
  • Architecture: amd64
  • Source Package: swi-prolog
  • 9 dependencies
  • normalized package name match
  • Matched by: Swi Prolog
Debian stable package indexes · deb.debian.org · Debian stable package indexes: swi-prolog-x from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

swi-prolog

nix profile install nixpkgs#swi-prolog
  • normalized package name match
  • Matched by: Swi Prolog
nixpkgs package indexes · api.github.com · 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 apt95%

swi-prolog 9.0.4+dfsg-3.1ubuntu4

ISO/Edinburgh-style Prolog interpreter

https://www.swi-prolog.org

sudo apt install swi-prolog
  • Section: universe/interpreters
  • Architecture: amd64
  • 3 dependencies
  • normalized package name match
  • Matched by: Swi Prolog
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: swi-prolog from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

swi-prolog-bdb 9.0.4+dfsg-3.1ubuntu4

Berkeley DB interface for SWI-Prolog

https://www.swi-prolog.org

sudo apt install swi-prolog-bdb
  • Section: universe/interpreters
  • Architecture: amd64
  • Source Package: swi-prolog
  • 3 dependencies
  • normalized package name match
  • Matched by: Swi Prolog
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: swi-prolog-bdb from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

swi-prolog-core 9.0.4+dfsg-3.1ubuntu4

ISO/Edinburgh-style Prolog interpreter - core system

https://www.swi-prolog.org

sudo apt install swi-prolog-core
  • Section: universe/interpreters
  • Architecture: amd64
  • Source Package: swi-prolog
  • 4 dependencies
  • 7 provides
  • 7 optional deps
  • normalized package name match
  • Matched by: Swi Prolog
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: swi-prolog-core from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

swi-prolog-core-packages 9.0.4+dfsg-3.1ubuntu4

ISO/Edinburgh-style Prolog interpreter - core packages

https://www.swi-prolog.org

sudo apt install swi-prolog-core-packages
  • Section: universe/interpreters
  • Architecture: amd64
  • Source Package: swi-prolog
  • 7 dependencies
  • 6 optional deps
  • normalized package name match
  • Matched by: Swi Prolog
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: swi-prolog-core-packages from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment