Documentation menu

jdx kotlin

IDE equivalent: Fetch the Kotlin PSI sidecar (Kotlin sources)

Manage the Kotlin PSI sidecar: install the side-loaded compiler set so body/source/doc can serve Kotlin sources. Without it, Kotlin binaries still render via @Metadata and .kt queries degrade.

Usage#

jdx kotlin [<options>] <command> [<args>]...

Subcommands#

jdx kotlin install#

Download and verify the Kotlin PSI sidecar set (kotlin-compiler-embeddable plus its runtime jars, at pinned versions with SHA-1 verification) into <cache-dir>/kotlin. Jars already present are skipped without network; re-run resumes after a failure. Exits 5 when a download, checksum or write fails.

jdx kotlin install [<options>]
OptionDescription
--repo=<text>Maven repository base URL to fetch from (repeatable, e.g. --repo https://repo.example.com/maven2). Tried in flag order before Maven Central, which stays last as the fallback. Must be an http(s) URL.
--forceRe-download every jar even when present (repairs a corrupt sidecar that probes as installed but fails to initialise).
--jsonEmit machine-readable JSON instead of human-readable text (same information, D-007).
-h, --helpShow this message and exit

Options#

OptionDescription
-h, --helpShow this message and exit

Full help text#

Show jdx kotlin --help
jdx kotlin --help
Usage: jdx kotlin [<options>] <command> [<args>]...

  Manage the Kotlin PSI sidecar: install the side-loaded compiler set so body/source/doc can serve Kotlin sources. Without it, Kotlin binaries still render via @Metadata and .kt queries degrade.

Options:
  -h, --help  Show this message and exit

Commands:
  install  Download and verify the Kotlin PSI sidecar set (kotlin-compiler-embeddable plus its runtime jars, at pinned versions with SHA-1 verification) into <cache-dir>/kotlin. Jars already present are skipped without network; re-run resumes after a failure. Exits 5 when a download, checksum or write fails.

Real output — this example ran against the current jdx when the page was built.

Learn more#

Guide: Reading code · All commands

View as Markdown · Updated