All apps/Coursier

Coursier

coursier

A Scala dependency and application manager

Runs as cs, coursier|macOS, Linux, Windows|get-coursier.io

Command form

ai-draft · 6 tasks · 9 fields

Install or remove Scala applications, search for them, and fetch dependency JARs with Coursier. Resolution, repository and cache options are left out.

Opens the form; the finished command lands at your prompt, unrun
otty gui coursier

cs install

Install applications
Install applicationsExample values, fixed in this page — nothing here reaches a terminal
Basic
Applications*
string
TasksEach one presets the form for one job
Install
apps
ParametersOnly these flags are editable in the form
Applications
Names, optionally with :version.
string · positional 0 · repeatable

cs uninstall

Uninstall applications
Uninstall applicationsExample values, fixed in this page — nothing here reaches a terminal
Basic
Applications*
string
TasksEach one presets the form for one job
Uninstall some
apps
Uninstall all
all
ParametersOnly these flags are editable in the form
Applications
string · positional 0 · repeatable
Uninstall everything
boolean
--all

cs search

Search applications
Search applicationsExample values, fixed in this page — nothing here reaches a terminal
Basic
Search text*
string
TasksEach one presets the form for one job
Search
query
ParametersOnly these flags are editable in the form
Search text
string · positional 0

cs fetch

Fetch dependency JARs
Fetch dependency JARsExample values, fixed in this page — nothing here reaches a terminal
Basic
Dependencies*
string
Print as classpath
--classpath
TasksEach one presets the form for one job
Print a classpath
depsclasspath
Fetch sources
depssources
ParametersOnly these flags are editable in the form
Dependencies
org:name:version, or org::name:version for Scala libraries.
string · positional 0 · repeatable
Print as classpath
boolean
--classpath
Fetch source JARs
boolean
--sources
Fetch javadoc JARs
boolean
--javadoc
Dependency files
path · repeatable
--dependency-file
SourcesEvery flag above is checked against these
docs
$ cs install scalafmt $ cs install scalafmt:2.4.2 $ cs install scala:2.12.15 scalac:2.12.15
manual2026-10-27

get-coursier.io

docs
$ cs uninstall scala scalac $ cs uninstall --all
manual2026-10-27

get-coursier.io

docs
$ cs search fmt
manual2026-10-27

get-coursier.io

docs
$ cs fetch io.circe::circe-generic:0.12.3 $ cs fetch --classpath io.circe::circe-generic:0.12.3 $ cs fetch --sources com.lihaoyi:ammonite_2.12.8:1.6.0 $ cs fetch --javadoc com.lihaoyi:ammonite_2.12.8:1.6.0 $ cs fetch --dependency-file file_1 --dependency-file file_2
manual2026-10-27

get-coursier.io

Before it fills your prompt, Otty checks the installed cs against its version. A form that does not match your version is not offered.