Skip to content

monoceros add-language

Adds a language toolchain to a workbench’s config. The toolchain is installed into the container on the next monoceros apply.

Terminal window
monoceros add-language <name> <lang>[:version] [--yes]

<lang> is a catalog language (node, python, java, go, rust, dotnet, …). Append :version to pin one; omit it for the catalog default.

Terminal window
monoceros add-language acme go # catalog default
monoceros add-language acme java:21 # pin a version
monoceros add-language acme python:3.12

Languages with extra options Monoceros surfaces (e.g. Java’s Maven/Gradle) are written as an editable object you can tweak in the yml:

languages:
- java:
version: '21'
installMaven: true
installGradle: true
- go:latest
  • Idempotent by language name. add-language acme java is a no-op when a java entry is already present, whatever its version.
  • No confirmation prompt. The edit is written straight to the yml as soon as you run the command.
  • Edits the yml only. Run monoceros apply to install the toolchain.