Skip to content

API

Coursier can be used as a Scala library. Its main dependency is

io.get-coursier::coursier:2.1.25-M24-28-0886852aa-SNAPSHOT

coursier is built mainly for the JVM, although parts of it are also built for Scala.js, and an even more restrained subset of coursier is also built for Scala Native.

The native CLI of coursier is based on the JVM, and is built using GraalVM native image. Most if not all coursier features ought to work fine from native images.

The pages that follow document how to use coursier via its API.

Most pages assume that the content of the coursier package has been imported, like

import coursier._