View Source mix nodelix.install (nodelix v1.0.0-alpha.8)

Installs Node.js.

Warning

This is a pre-release version. As such, anything may change at any time, the public API should not be considered stable, and using a pinned version is recommended.

$ mix nodelix.install
$ mix nodelix.install --force

By default, it installs 20.10.0 but you can configure it in your config files, such as:

config :nodelix, :version, "20.10.0"

Options

  • --runtime-config - load the runtime configuration before executing command

  • --force - install even if the given version is already present