Node.js
Curated name node. Node is built into the runtime image (currently v22),
so a bare node installs nothing extra. A pinned version goes through the
upstream devcontainers/features/node
feature.
Add it
Section titled “Add it”monoceros init acme --with-languages=nodemonoceros add-language acme node:20Remove it
Section titled “Remove it”monoceros remove-language acme nodeOr delete the entry from acme.yml by hand and re-run monoceros apply acme -
the yml is the source of truth.
Pinning a version
Section titled “Pinning a version”A bare node keeps the built-in v22. To run a different major, pin it - that
bypasses the built-in and installs through the feature:
monoceros add-language acme node:20Supported majors: 22, 20 (also lts, latest).
Key options
Section titled “Key options”Set these by adding the feature directly (see Other feature options):
| Option | Default | Notes |
|---|---|---|
version | lts | Pin via the :version suffix instead. |
pnpmVersion | latest | none to skip pnpm. |
npmVersion | none | Pin a specific npm. |
Full option list: upstream feature.