View Source mix nodelix (nodelix v1.0.0-alpha.13)

Invokes node with the provided arguments.

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.

Usage:

$ mix nodelix TASK_OPTIONS NODE_ARGS

Example:

$ mix nodelix some-script.js --some-option

Refer to Nodelix for more information on configuration and profiles.

Options

  • --version - Node.js version to use, defaults to latest known LTS version (22.12.0)

  • --profile - name of the profile to use, defaults to default

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

Flags to control this Mix task must be given before the node arguments:

$ mix nodelix --version 18.18.2 --profile default --runtime-config some-script.js --some-option