Downloads
2P-Kt and its modules are released under the Apache 2.0 License through
- GitHub releases — the executables, including the self-contained 2p-ide-<version>-redist.jar
- Maven Central — group id it.unibo.tuprolog, for Kotlin, JVM and Android
- NPM — the @tuprolog organisation, for JavaScript; every module is published as @tuprolog/2p-<module>, with the 2p- prefix, so the whole library is @tuprolog/2p-full
- GitHub Packages — the same modules from an ad hoc Maven repository
The Web IDE
Nothing needs downloading at all to use 2P-Kt as a Prolog IDE: the Web IDE runs in the browser, at tuprolog.github.io/2p-kt/web-ide.
To serve it yourself, the release page carries an ide-web-<version>.zip asset: unzip it, serve the folder with any static file server — which is what its own end-to-end tests do — and open index.html in a modern browser.
The desktop IDE
The desktop IDE ships as a runnable jar. Beside the all-in-one 2p-ide-<version>-redist.jar the release carries platform-specific variants — -win, -linux, -mac, -mac-aarch64. On Apple Silicon use the mac-aarch64 variant: the all-in-one jar cannot carry the native libraries of both macOS architectures, since they share file names, so it ships the Intel ones and fails on an ARM JVM.
The old Java engine has its own downloads, under a different licence: see the tuProlog pages.