Skip to content

Setup instructions

The tool is released to Maven central as a Maven artifact and Docker image. There is also a CLI available.

📦 Install from Maven Central

<dependency>
    <groupId>org.nanopub</groupId>
    <artifactId>nanopub</artifactId>
    <version>1.86.2</version>
</dependency>
implementation("org.nanopub:nanopub:1.86.2")
libraryDependencies += "org.nanopub" % "nanopub" % "1.86.2"

If you use a package manager that is included in the proposed ones, check out Nanopub on Maven Central to know how to import the package into your application.

Run as Docker Image

An image is released on Docker Hub

Run through the UNIX Command-Line (CLI)

To use this library on the command line, just run:

curl -LsSf https://raw.githubusercontent.com/Nanopublication/nanopub-java/master/bin/install.sh | bash
irm https://raw.githubusercontent.com/Nanopublication/nanopub-java/master/bin/install.ps1 | iex

This automatically downloads the latest release as a jar file on the first run.