{
  "type": "module",
  "source": "doc/api/cli.md",
  "introduced_in": "v5.9.1",
  "miscs": [
    {
      "textRaw": "Command-line API",
      "name": "Command-line API",
      "introduced_in": "v5.9.1",
      "type": "misc",
      "desc": "<p>Node.js comes with a variety of CLI options. These options expose built-in\ndebugging, multiple ways to execute scripts, and other helpful runtime options.</p>\n<p>To view this documentation as a manual page in a terminal, run <code>man node</code>.</p>",
      "miscs": [
        {
          "textRaw": "Synopsis",
          "name": "synopsis",
          "desc": "<p><code>node [options] [V8 options] [&#x3C;program-entry-point> | -e \"script\" | -] [--] [arguments]</code></p>\n<p><code>node inspect [&#x3C;program-entry-point> | -e \"script\" | &#x3C;host>:&#x3C;port>] …</code></p>\n<p><code>node --v8-options</code></p>\n<p>Execute without arguments to start the <a href=\"repl.html\">REPL</a>.</p>\n<p>For more info about <code>node inspect</code>, see the <a href=\"debugger.html\">debugger</a> documentation.</p>",
          "type": "misc",
          "displayName": "Synopsis"
        },
        {
          "textRaw": "Program entry point",
          "name": "program_entry_point",
          "desc": "<p>The program entry point is a specifier-like string. If the string is not an\nabsolute path, it's resolved as a relative path from the current working\ndirectory. That path is then resolved by <a href=\"modules.html\">CommonJS</a> module loader, or by the\n<a href=\"packages.html#modules-loaders\">ES module loader</a> if <a href=\"#--experimental-default-typetype\"><code>--experimental-default-type=module</code></a>\nis passed. If no corresponding file is found, an error is thrown.</p>\n<p>If a file is found, its path will be passed to the\n<a href=\"packages.html#modules-loaders\">ES module loader</a> under any of the following conditions:</p>\n<ul>\n<li>The program was started with a command-line flag that forces the entry\npoint to be loaded with ECMAScript module loader, such as <code>--import</code> or\n<a href=\"#--experimental-default-typetype\"><code>--experimental-default-type=module</code></a>.</li>\n<li>The file has an <code>.mjs</code> extension.</li>\n<li>The file does not have a <code>.cjs</code> extension, and the nearest parent\n<code>package.json</code> file contains a top-level <a href=\"packages.html#type\"><code>\"type\"</code></a> field with a value of\n<code>\"module\"</code>.</li>\n</ul>\n<p>Otherwise, the file is loaded using the CommonJS module loader. See\n<a href=\"packages.html#modules-loaders\">Modules loaders</a> for more details.</p>",
          "modules": [
            {
              "textRaw": "ECMAScript modules loader entry point caveat",
              "name": "ecmascript_modules_loader_entry_point_caveat",
              "desc": "<p>When loading, the <a href=\"packages.html#modules-loaders\">ES module loader</a> loads the program\nentry point, the <code>node</code> command will accept as input only files with <code>.js</code>,\n<code>.mjs</code>, or <code>.cjs</code> extensions; with <code>.wasm</code> extensions when\n<a href=\"#--experimental-wasm-modules\"><code>--experimental-wasm-modules</code></a> is enabled; and with no extension when\n<a href=\"#--experimental-default-typetype\"><code>--experimental-default-type=module</code></a> is passed.</p>",
              "type": "module",
              "displayName": "ECMAScript modules loader entry point caveat"
            }
          ],
          "type": "misc",
          "displayName": "Program entry point"
        },
        {
          "textRaw": "Options",
          "name": "options",
          "meta": {
            "changes": [
              {
                "version": "v10.12.0",
                "pr-url": "https://github.com/nodejs/node/pull/23020",
                "description": "Underscores instead of dashes are now allowed for Node.js options as well, in addition to V8 options."
              }
            ]
          },
          "desc": "<p>All options, including V8 options, allow words to be separated by both\ndashes (<code>-</code>) or underscores (<code>_</code>). For example, <code>--pending-deprecation</code> is\nequivalent to <code>--pending_deprecation</code>.</p>\n<p>If an option that takes a single value (such as <code>--max-http-header-size</code>) is\npassed more than once, then the last passed value is used. Options from the\ncommand line take precedence over options passed through the <a href=\"#node_optionsoptions\"><code>NODE_OPTIONS</code></a>\nenvironment variable.</p>",
          "modules": [
            {
              "textRaw": "`-`",
              "name": "`-`",
              "meta": {
                "added": [
                  "v8.0.0"
                ],
                "changes": []
              },
              "desc": "<p>Alias for stdin. Analogous to the use of <code>-</code> in other command-line utilities,\nmeaning that the script is read from stdin, and the rest of the options\nare passed to that script.</p>",
              "type": "module",
              "displayName": "`-`"
            },
            {
              "textRaw": "`--`",
              "name": "`--`",
              "meta": {
                "added": [
                  "v6.11.0"
                ],
                "changes": []
              },
              "desc": "<p>Indicate the end of node options. Pass the rest of the arguments to the script.\nIf no script filename or eval/print script is supplied prior to this, then\nthe next argument is used as a script filename.</p>",
              "type": "module",
              "displayName": "`--`"
            },
            {
              "textRaw": "`--abort-on-uncaught-exception`",
              "name": "`--abort-on-uncaught-exception`",
              "meta": {
                "added": [
                  "v0.10.8"
                ],
                "changes": []
              },
              "desc": "<p>Aborting instead of exiting causes a core file to be generated for post-mortem\nanalysis using a debugger (such as <code>lldb</code>, <code>gdb</code>, and <code>mdb</code>).</p>\n<p>If this flag is passed, the behavior can still be set to not abort through\n<a href=\"process.html#processsetuncaughtexceptioncapturecallbackfn\"><code>process.setUncaughtExceptionCaptureCallback()</code></a> (and through usage of the\n<code>node:domain</code> module that uses it).</p>",
              "type": "module",
              "displayName": "`--abort-on-uncaught-exception`"
            },
            {
              "textRaw": "`--allow-addons`",
              "name": "`--allow-addons`",
              "meta": {
                "added": [
                  "v21.6.0",
                  "v20.12.0"
                ],
                "changes": []
              },
              "stability": 1,
              "stabilityText": ".1 - Active development",
              "desc": "<p>When using the <a href=\"permissions.html#permission-model\">Permission Model</a>, the process will not be able to use\nnative addons by default.\nAttempts to do so will throw an <code>ERR_DLOPEN_DISABLED</code> unless the\nuser explicitly passes the <code>--allow-addons</code> flag when starting Node.js.</p>\n<p>Example:</p>\n<pre><code class=\"language-cjs\">// Attempt to require an native addon\nrequire('nodejs-addon-example');\n</code></pre>\n<pre><code class=\"language-console\">$ node --experimental-permission --allow-fs-read=* index.js\nnode:internal/modules/cjs/loader:1319\n  return process.dlopen(module, path.toNamespacedPath(filename));\n                 ^\n\nError: Cannot load native addon because loading addons is disabled.\n    at Module._extensions..node (node:internal/modules/cjs/loader:1319:18)\n    at Module.load (node:internal/modules/cjs/loader:1091:32)\n    at Module._load (node:internal/modules/cjs/loader:938:12)\n    at Module.require (node:internal/modules/cjs/loader:1115:19)\n    at require (node:internal/modules/helpers:130:18)\n    at Object.&#x3C;anonymous> (/home/index.js:1:15)\n    at Module._compile (node:internal/modules/cjs/loader:1233:14)\n    at Module._extensions..js (node:internal/modules/cjs/loader:1287:10)\n    at Module.load (node:internal/modules/cjs/loader:1091:32)\n    at Module._load (node:internal/modules/cjs/loader:938:12) {\n  code: 'ERR_DLOPEN_DISABLED'\n}\n</code></pre>",
              "type": "module",
              "displayName": "`--allow-addons`"
            },
            {
              "textRaw": "`--allow-child-process`",
              "name": "`--allow-child-process`",
              "meta": {
                "added": [
                  "v20.0.0"
                ],
                "changes": []
              },
              "stability": 1,
              "stabilityText": ".1 - Active development",
              "desc": "<p>When using the <a href=\"permissions.html#permission-model\">Permission Model</a>, the process will not be able to spawn any\nchild process by default.\nAttempts to do so will throw an <code>ERR_ACCESS_DENIED</code> unless the\nuser explicitly passes the <code>--allow-child-process</code> flag when starting Node.js.</p>\n<p>Example:</p>\n<pre><code class=\"language-js\">const childProcess = require('node:child_process');\n// Attempt to bypass the permission\nchildProcess.spawn('node', ['-e', 'require(\"fs\").writeFileSync(\"/new-file\", \"example\")']);\n</code></pre>\n<pre><code class=\"language-console\">$ node --experimental-permission --allow-fs-read=* index.js\nnode:internal/child_process:388\n  const err = this._handle.spawn(options);\n                           ^\nError: Access to this API has been restricted\n    at ChildProcess.spawn (node:internal/child_process:388:28)\n    at Object.spawn (node:child_process:723:9)\n    at Object.&#x3C;anonymous> (/home/index.js:3:14)\n    at Module._compile (node:internal/modules/cjs/loader:1120:14)\n    at Module._extensions..js (node:internal/modules/cjs/loader:1174:10)\n    at Module.load (node:internal/modules/cjs/loader:998:32)\n    at Module._load (node:internal/modules/cjs/loader:839:12)\n    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)\n    at node:internal/main/run_main_module:17:47 {\n  code: 'ERR_ACCESS_DENIED',\n  permission: 'ChildProcess'\n}\n</code></pre>",
              "type": "module",
              "displayName": "`--allow-child-process`"
            },
            {
              "textRaw": "`--allow-fs-read`",
              "name": "`--allow-fs-read`",
              "meta": {
                "added": [
                  "v20.0.0"
                ],
                "changes": [
                  {
                    "version": "v20.7.0",
                    "pr-url": "https://github.com/nodejs/node/pull/49047",
                    "description": "Paths delimited by comma (`,`) are no longer allowed."
                  }
                ]
              },
              "stability": 1,
              "stabilityText": ".1 - Active development",
              "desc": "<p>This flag configures file system read permissions using\nthe <a href=\"permissions.html#permission-model\">Permission Model</a>.</p>\n<p>The valid arguments for the <code>--allow-fs-read</code> flag are:</p>\n<ul>\n<li><code>*</code> - To allow all <code>FileSystemRead</code> operations.</li>\n<li>Multiple paths can be allowed using multiple <code>--allow-fs-read</code> flags.\nExample <code>--allow-fs-read=/folder1/ --allow-fs-read=/folder1/</code></li>\n</ul>\n<p>Paths delimited by comma (<code>,</code>) are no longer allowed.\nWhen passing a single flag with a comma a warning will be displayed.</p>\n<p>Examples can be found in the <a href=\"permissions.html#file-system-permissions\">File System Permissions</a> documentation.</p>\n<p>Relative paths are NOT yet supported by the CLI flag.</p>\n<p>The initializer module also needs to be allowed. Consider the following example:</p>\n<pre><code class=\"language-console\">$ node --experimental-permission t.js\n\nError: Access to this API has been restricted\n    at node:internal/main/run_main_module:23:47 {\n  code: 'ERR_ACCESS_DENIED',\n  permission: 'FileSystemRead',\n  resource: '/Users/rafaelgss/repos/os/node/t.js'\n}\n</code></pre>\n<p>The process needs to have access to the <code>index.js</code> module:</p>\n<pre><code class=\"language-bash\">node --experimental-permission --allow-fs-read=/path/to/index.js index.js\n</code></pre>",
              "type": "module",
              "displayName": "`--allow-fs-read`"
            },
            {
              "textRaw": "`--allow-fs-write`",
              "name": "`--allow-fs-write`",
              "meta": {
                "added": [
                  "v20.0.0"
                ],
                "changes": [
                  {
                    "version": "v20.7.0",
                    "pr-url": "https://github.com/nodejs/node/pull/49047",
                    "description": "Paths delimited by comma (`,`) are no longer allowed."
                  }
                ]
              },
              "stability": 1,
              "stabilityText": ".1 - Active development",
              "desc": "<p>This flag configures file system write permissions using\nthe <a href=\"permissions.html#permission-model\">Permission Model</a>.</p>\n<p>The valid arguments for the <code>--allow-fs-write</code> flag are:</p>\n<ul>\n<li><code>*</code> - To allow all <code>FileSystemWrite</code> operations.</li>\n<li>Multiple paths can be allowed using multiple <code>--allow-fs-write</code> flags.\nExample <code>--allow-fs-write=/folder1/ --allow-fs-write=/folder1/</code></li>\n</ul>\n<p>Paths delimited by comma (<code>,</code>) are no longer allowed.\nWhen passing a single flag with a comma a warning will be displayed.</p>\n<p>Examples can be found in the <a href=\"permissions.html#file-system-permissions\">File System Permissions</a> documentation.</p>\n<p>Relative paths are NOT supported through the CLI flag.</p>",
              "type": "module",
              "displayName": "`--allow-fs-write`"
            },
            {
              "textRaw": "`--allow-wasi`",
              "name": "`--allow-wasi`",
              "meta": {
                "added": [
                  "v22.3.0",
                  "v20.16.0"
                ],
                "changes": []
              },
              "stability": 1,
              "stabilityText": ".1 - Active development",
              "desc": "<p>When using the <a href=\"permissions.html#permission-model\">Permission Model</a>, the process will not be capable of creating\nany WASI instances by default.\nFor security reasons, the call will throw an <code>ERR_ACCESS_DENIED</code> unless the\nuser explicitly passes the flag <code>--allow-wasi</code> in the main Node.js process.</p>\n<p>Example:</p>\n<pre><code class=\"language-js\">const { WASI } = require('node:wasi');\n// Attempt to bypass the permission\nnew WASI({\n  version: 'preview1',\n  // Attempt to mount the whole filesystem\n  preopens: {\n    '/': '/',\n  },\n});\n</code></pre>\n<pre><code class=\"language-console\">$ node --experimental-permission --allow-fs-read=* index.js\n\nError: Access to this API has been restricted\n    at node:internal/main/run_main_module:30:49 {\n  code: 'ERR_ACCESS_DENIED',\n  permission: 'WASI',\n}\n</code></pre>",
              "type": "module",
              "displayName": "`--allow-wasi`"
            },
            {
              "textRaw": "`--allow-worker`",
              "name": "`--allow-worker`",
              "meta": {
                "added": [
                  "v20.0.0"
                ],
                "changes": []
              },
              "stability": 1,
              "stabilityText": ".1 - Active development",
              "desc": "<p>When using the <a href=\"permissions.html#permission-model\">Permission Model</a>, the process will not be able to create any\nworker threads by default.\nFor security reasons, the call will throw an <code>ERR_ACCESS_DENIED</code> unless the\nuser explicitly pass the flag <code>--allow-worker</code> in the main Node.js process.</p>\n<p>Example:</p>\n<pre><code class=\"language-js\">const { Worker } = require('node:worker_threads');\n// Attempt to bypass the permission\nnew Worker(__filename);\n</code></pre>\n<pre><code class=\"language-console\">$ node --experimental-permission --allow-fs-read=* index.js\n\nError: Access to this API has been restricted\n    at node:internal/main/run_main_module:17:47 {\n  code: 'ERR_ACCESS_DENIED',\n  permission: 'WorkerThreads'\n}\n</code></pre>",
              "type": "module",
              "displayName": "`--allow-worker`"
            },
            {
              "textRaw": "`--build-snapshot`",
              "name": "`--build-snapshot`",
              "meta": {
                "added": [
                  "v18.8.0"
                ],
                "changes": []
              },
              "stability": 1,
              "stabilityText": "Experimental",
              "desc": "<p>Generates a snapshot blob when the process exits and writes it to\ndisk, which can be loaded later with <code>--snapshot-blob</code>.</p>\n<p>When building the snapshot, if <code>--snapshot-blob</code> is not specified,\nthe generated blob will be written, by default, to <code>snapshot.blob</code>\nin the current working directory. Otherwise it will be written to\nthe path specified by <code>--snapshot-blob</code>.</p>\n<pre><code class=\"language-console\">$ echo \"globalThis.foo = 'I am from the snapshot'\" > snapshot.js\n\n# Run snapshot.js to initialize the application and snapshot the\n# state of it into snapshot.blob.\n$ node --snapshot-blob snapshot.blob --build-snapshot snapshot.js\n\n$ echo \"console.log(globalThis.foo)\" > index.js\n\n# Load the generated snapshot and start the application from index.js.\n$ node --snapshot-blob snapshot.blob index.js\nI am from the snapshot\n</code></pre>\n<p>The <a href=\"v8.html#startup-snapshot-api\"><code>v8.startupSnapshot</code> API</a> can be used to specify an entry point at\nsnapshot building time, thus avoiding the need of an additional entry\nscript at deserialization time:</p>\n<pre><code class=\"language-console\">$ echo \"require('v8').startupSnapshot.setDeserializeMainFunction(() => console.log('I am from the snapshot'))\" > snapshot.js\n$ node --snapshot-blob snapshot.blob --build-snapshot snapshot.js\n$ node --snapshot-blob snapshot.blob\nI am from the snapshot\n</code></pre>\n<p>For more information, check out the <a href=\"v8.html#startup-snapshot-api\"><code>v8.startupSnapshot</code> API</a> documentation.</p>\n<p>Currently the support for run-time snapshot is experimental in that:</p>\n<ol>\n<li>User-land modules are not yet supported in the snapshot, so only\none single file can be snapshotted. Users can bundle their applications\ninto a single script with their bundler of choice before building\na snapshot, however.</li>\n<li>Only a subset of the built-in modules work in the snapshot, though the\nNode.js core test suite checks that a few fairly complex applications\ncan be snapshotted. Support for more modules are being added. If any\ncrashes or buggy behaviors occur when building a snapshot, please file\na report in the <a href=\"https://github.com/nodejs/node/issues\">Node.js issue tracker</a> and link to it in the\n<a href=\"https://github.com/nodejs/node/issues/44014\">tracking issue for user-land snapshots</a>.</li>\n</ol>",
              "type": "module",
              "displayName": "`--build-snapshot`"
            },
            {
              "textRaw": "`--build-snapshot-config`",
              "name": "`--build-snapshot-config`",
              "meta": {
                "added": [
                  "v21.6.0",
                  "v20.12.0"
                ],
                "changes": []
              },
              "stability": 1,
              "stabilityText": "Experimental",
              "desc": "<p>Specifies the path to a JSON configuration file which configures snapshot\ncreation behavior.</p>\n<p>The following options are currently supported:</p>\n<ul>\n<li><code>builder</code> <a href=\"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type\" class=\"type\">&lt;string&gt;</a> Required. Provides the name to the script that is executed\nbefore building the snapshot, as if <a href=\"#--build-snapshot\"><code>--build-snapshot</code></a> had been passed\nwith <code>builder</code> as the main script name.</li>\n<li><code>withoutCodeCache</code> <a href=\"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type\" class=\"type\">&lt;boolean&gt;</a> Optional. Including the code cache reduces the\ntime spent on compiling functions included in the snapshot at the expense\nof a bigger snapshot size and potentially breaking portability of the\nsnapshot.</li>\n</ul>\n<p>When using this flag, additional script files provided on the command line will\nnot be executed and instead be interpreted as regular command line arguments.</p>",
              "type": "module",
              "displayName": "`--build-snapshot-config`"
            },
            {
              "textRaw": "`-c`, `--check`",
              "name": "`-c`,_`--check`",
              "meta": {
                "added": [
                  "v5.0.0",
                  "v4.2.0"
                ],
                "changes": [
                  {
                    "version": "v10.0.0",
                    "pr-url": "https://github.com/nodejs/node/pull/19600",
                    "description": "The `--require` option is now supported when checking a file."
                  }
                ]
              },
              "desc": "<p>Syntax check the script without executing.</p>",
              "type": "module",
              "displayName": "`-c`, `--check`"
            },
            {
              "textRaw": "`--completion-bash`",
              "name": "`--completion-bash`",
              "meta": {
                "added": [
                  "v10.12.0"
                ],
                "changes": []
              },
              "desc": "<p>Print source-able bash completion script for Node.js.</p>\n<pre><code class=\"language-bash\">node --completion-bash > node_bash_completion\nsource node_bash_completion\n</code></pre>",
              "type": "module",
              "displayName": "`--completion-bash`"
            },
            {
              "textRaw": "`-C condition`, `--conditions=condition`",
              "name": "`-c_condition`,_`--conditions=condition`",
              "meta": {
                "added": [
                  "v14.9.0",
                  "v12.19.0"
                ],
                "changes": [
                  {
                    "version": [
                      "v22.9.0",
                      "v20.18.0"
                    ],
                    "pr-url": "https://github.com/nodejs/node/pull/54209",
                    "description": "The flag is no longer experimental."
                  }
                ]
              },
              "stability": 2,
              "stabilityText": "Stable",
              "desc": "<p>Provide custom <a href=\"packages.html#conditional-exports\">conditional exports</a> resolution conditions.</p>\n<p>Any number of custom string condition names are permitted.</p>\n<p>The default Node.js conditions of <code>\"node\"</code>, <code>\"default\"</code>, <code>\"import\"</code>, and\n<code>\"require\"</code> will always apply as defined.</p>\n<p>For example, to run a module with \"development\" resolutions:</p>\n<pre><code class=\"language-bash\">node -C development app.js\n</code></pre>",
              "type": "module",
              "displayName": "`-C condition`, `--conditions=condition`"
            },
            {
              "textRaw": "`--cpu-prof`",
              "name": "`--cpu-prof`",
              "meta": {
                "added": [
                  "v12.0.0"
                ],
                "changes": [
                  {
                    "version": [
                      "v22.4.0",
                      "v20.16.0"
                    ],
                    "pr-url": "https://github.com/nodejs/node/pull/53343",
                    "description": "The `--cpu-prof` flags are now stable."
                  }
                ]
              },
              "stability": 2,
              "stabilityText": "Stable",
              "desc": "<p>Starts the V8 CPU profiler on start up, and writes the CPU profile to disk\nbefore exit.</p>\n<p>If <code>--cpu-prof-dir</code> is not specified, the generated profile is placed\nin the current working directory.</p>\n<p>If <code>--cpu-prof-name</code> is not specified, the generated profile is\nnamed <code>CPU.${yyyymmdd}.${hhmmss}.${pid}.${tid}.${seq}.cpuprofile</code>.</p>\n<pre><code class=\"language-console\">$ node --cpu-prof index.js\n$ ls *.cpuprofile\nCPU.20190409.202950.15293.0.0.cpuprofile\n</code></pre>",
              "type": "module",
              "displayName": "`--cpu-prof`"
            },
            {
              "textRaw": "`--cpu-prof-dir`",
              "name": "`--cpu-prof-dir`",
              "meta": {
                "added": [
                  "v12.0.0"
                ],
                "changes": [
                  {
                    "version": [
                      "v22.4.0",
                      "v20.16.0"
                    ],
                    "pr-url": "https://github.com/nodejs/node/pull/53343",
                    "description": "The `--cpu-prof` flags are now stable."
                  }
                ]
              },
              "stability": 2,
              "stabilityText": "Stable",
              "desc": "<p>Specify the directory where the CPU profiles generated by <code>--cpu-prof</code> will\nbe placed.</p>\n<p>The default value is controlled by the\n<a href=\"#--diagnostic-dirdirectory\"><code>--diagnostic-dir</code></a> command-line option.</p>",
              "type": "module",
              "displayName": "`--cpu-prof-dir`"
            },
            {
              "textRaw": "`--cpu-prof-interval`",
              "name": "`--cpu-prof-interval`",
              "meta": {
                "added": [
                  "v12.2.0"
                ],
                "changes": [
                  {
                    "version": [
                      "v22.4.0",
                      "v20.16.0"
                    ],
                    "pr-url": "https://github.com/nodejs/node/pull/53343",
                    "description": "The `--cpu-prof` flags are now stable."
                  }
                ]
              },
              "stability": 2,
              "stabilityText": "Stable",
              "desc": "<p>Specify the sampling interval in microseconds for the CPU profiles generated\nby <code>--cpu-prof</code>. The default is 1000 microseconds.</p>",
              "type": "module",
              "displayName": "`--cpu-prof-interval`"
            },
            {
              "textRaw": "`--cpu-prof-name`",
              "name": "`--cpu-prof-name`",
              "meta": {
                "added": [
                  "v12.0.0"
                ],
                "changes": [
                  {
                    "version": [
                      "v22.4.0",
                      "v20.16.0"
                    ],
                    "pr-url": "https://github.com/nodejs/node/pull/53343",
                    "description": "The `--cpu-prof` flags are now stable."
                  }
                ]
              },
              "stability": 2,
              "stabilityText": "Stable",
              "desc": "<p>Specify the file name of the CPU profile generated by <code>--cpu-prof</code>.</p>",
              "type": "module",
              "displayName": "`--cpu-prof-name`"
            },
            {
              "textRaw": "`--diagnostic-dir=directory`",
              "name": "`--diagnostic-dir=directory`",
              "desc": "<p>Set the directory to which all diagnostic output files are written.\nDefaults to current working directory.</p>\n<p>Affects the default output directory of:</p>\n<ul>\n<li><a href=\"#--cpu-prof-dir\"><code>--cpu-prof-dir</code></a></li>\n<li><a href=\"#--heap-prof-dir\"><code>--heap-prof-dir</code></a></li>\n<li><a href=\"#--redirect-warningsfile\"><code>--redirect-warnings</code></a></li>\n</ul>",
              "type": "module",
              "displayName": "`--diagnostic-dir=directory`"
            },
            {
              "textRaw": "`--disable-warning=code-or-type`",
              "name": "`--disable-warning=code-or-type`",
              "stability": 1,
              "stabilityText": ".1 - Active development",
              "meta": {
                "added": [
                  "v21.3.0",
                  "v20.11.0"
                ],
                "changes": []
              },
              "desc": "<p>Disable specific process warnings by <code>code</code> or <code>type</code>.</p>\n<p>Warnings emitted from <a href=\"process.html#processemitwarningwarning-options\"><code>process.emitWarning()</code></a> may contain a\n<code>code</code> and a <code>type</code>. This option will not-emit warnings that have a matching\n<code>code</code> or <code>type</code>.</p>\n<p>List of <a href=\"deprecations.html#list-of-deprecated-apis\">deprecation warnings</a>.</p>\n<p>The Node.js core warning types are: <code>DeprecationWarning</code> and\n<code>ExperimentalWarning</code></p>\n<p>For example, the following script will not emit\n<a href=\"deprecations.html#dep0025-requirenodesys\">DEP0025 <code>require('node:sys')</code></a> when executed with\n<code>node --disable-warning=DEP0025</code>:</p>\n<pre><code class=\"language-mjs\">import sys from 'node:sys';\n</code></pre>\n<pre><code class=\"language-cjs\">const sys = require('node:sys');\n</code></pre>\n<p>For example, the following script will emit the\n<a href=\"deprecations.html#dep0025-requirenodesys\">DEP0025 <code>require('node:sys')</code></a>, but not any Experimental\nWarnings (such as\n<a href=\"vm.html#vmmeasurememoryoptions\">ExperimentalWarning: <code>vm.measureMemory</code> is an experimental feature</a>\nin &#x3C;=v21) when executed with <code>node --disable-warning=ExperimentalWarning</code>:</p>\n<pre><code class=\"language-mjs\">import sys from 'node:sys';\nimport vm from 'node:vm';\n\nvm.measureMemory();\n</code></pre>\n<pre><code class=\"language-cjs\">const sys = require('node:sys');\nconst vm = require('node:vm');\n\nvm.measureMemory();\n</code></pre>",
              "type": "module",
              "displayName": "`--disable-warning=code-or-type`"
            },
            {
              "textRaw": "`--disable-wasm-trap-handler`",
              "name": "`--disable-wasm-trap-handler`",
              "meta": {
                "added": [
                  "v22.2.0",
                  "v20.15.0"
                ],
                "changes": []
              },
              "desc": "<p>By default, Node.js enables trap-handler-based WebAssembly bound\nchecks. As a result, V8 does not need to insert inline bound checks\nint the code compiled from WebAssembly which may speedup WebAssembly\nexecution significantly, but this optimization requires allocating\na big virtual memory cage (currently 10GB). If the Node.js process\ndoes not have access to a large enough virtual memory address space\ndue to system configurations or hardware limitations, users won't\nbe able to run any WebAssembly that involves allocation in this\nvirtual memory cage and will see an out-of-memory error.</p>\n<pre><code class=\"language-console\">$ ulimit -v 5000000\n$ node -p \"new WebAssembly.Memory({ initial: 10, maximum: 100 });\"\n[eval]:1\nnew WebAssembly.Memory({ initial: 10, maximum: 100 });\n^\n\nRangeError: WebAssembly.Memory(): could not allocate memory\n    at [eval]:1:1\n    at runScriptInThisContext (node:internal/vm:209:10)\n    at node:internal/process/execution:118:14\n    at [eval]-wrapper:6:24\n    at runScript (node:internal/process/execution:101:62)\n    at evalScript (node:internal/process/execution:136:3)\n    at node:internal/main/eval_string:49:3\n\n</code></pre>\n<p><code>--disable-wasm-trap-handler</code> disables this optimization so that\nusers can at least run WebAssembly (with less optimal performance)\nwhen the virtual memory address space available to their Node.js\nprocess is lower than what the V8 WebAssembly memory cage needs.</p>",
              "type": "module",
              "displayName": "`--disable-wasm-trap-handler`"
            },
            {
              "textRaw": "`--disable-proto=mode`",
              "name": "`--disable-proto=mode`",
              "meta": {
                "added": [
                  "v13.12.0",
                  "v12.17.0"
                ],
                "changes": []
              },
              "desc": "<p>Disable the <code>Object.prototype.__proto__</code> property. If <code>mode</code> is <code>delete</code>, the\nproperty is removed entirely. If <code>mode</code> is <code>throw</code>, accesses to the\nproperty throw an exception with the code <code>ERR_PROTO_ACCESS</code>.</p>",
              "type": "module",
              "displayName": "`--disable-proto=mode`"
            },
            {
              "textRaw": "`--disallow-code-generation-from-strings`",
              "name": "`--disallow-code-generation-from-strings`",
              "meta": {
                "added": [
                  "v9.8.0"
                ],
                "changes": []
              },
              "desc": "<p>Make built-in language features like <code>eval</code> and <code>new Function</code> that generate\ncode from strings throw an exception instead. This does not affect the Node.js\n<code>node:vm</code> module.</p>",
              "type": "module",
              "displayName": "`--disallow-code-generation-from-strings`"
            },
            {
              "textRaw": "`--expose-gc`",
              "name": "`--expose-gc`",
              "meta": {
                "added": [
                  "v22.3.0",
                  "v20.18.0"
                ],
                "changes": []
              },
              "stability": 1,
              "stabilityText": "Experimental. This flag is inherited from V8 and is subject to change upstream.",
              "desc": "<p>This flag will expose the gc extension from V8.</p>\n<pre><code class=\"language-js\">if (globalThis.gc) {\n  globalThis.gc();\n}\n</code></pre>",
              "type": "module",
              "displayName": "`--expose-gc`"
            },
            {
              "textRaw": "`--dns-result-order=order`",
              "name": "`--dns-result-order=order`",
              "meta": {
                "added": [
                  "v16.4.0",
                  "v14.18.0"
                ],
                "changes": [
                  {
                    "version": [
                      "v22.1.0",
                      "v20.13.0"
                    ],
                    "pr-url": "https://github.com/nodejs/node/pull/52492",
                    "description": "The `ipv6first` is supported now."
                  },
                  {
                    "version": "v17.0.0",
                    "pr-url": "https://github.com/nodejs/node/pull/39987",
                    "description": "Changed default value to `verbatim`."
                  }
                ]
              },
              "desc": "<p>Set the default value of <code>order</code> in <a href=\"dns.html#dnslookuphostname-options-callback\"><code>dns.lookup()</code></a> and\n<a href=\"dns.html#dnspromiseslookuphostname-options\"><code>dnsPromises.lookup()</code></a>. The value could be:</p>\n<ul>\n<li><code>ipv4first</code>: sets default <code>order</code> to <code>ipv4first</code>.</li>\n<li><code>ipv6first</code>: sets default <code>order</code> to <code>ipv6first</code>.</li>\n<li><code>verbatim</code>: sets default <code>order</code> to <code>verbatim</code>.</li>\n</ul>\n<p>The default is <code>verbatim</code> and <a href=\"dns.html#dnssetdefaultresultorderorder\"><code>dns.setDefaultResultOrder()</code></a> have higher\npriority than <code>--dns-result-order</code>.</p>",
              "type": "module",
              "displayName": "`--dns-result-order=order`"
            },
            {
              "textRaw": "`--enable-fips`",
              "name": "`--enable-fips`",
              "meta": {
                "added": [
                  "v6.0.0"
                ],
                "changes": []
              },
              "desc": "<p>Enable FIPS-compliant crypto at startup. (Requires Node.js to be built\nagainst FIPS-compatible OpenSSL.)</p>",
              "type": "module",
              "displayName": "`--enable-fips`"
            },
            {
              "textRaw": "`--enable-network-family-autoselection`",
              "name": "`--enable-network-family-autoselection`",
              "meta": {
                "added": [
                  "v18.18.0"
                ],
                "changes": []
              },
              "desc": "<p>Enables the family autoselection algorithm unless connection options explicitly\ndisables it.</p>",
              "type": "module",
              "displayName": "`--enable-network-family-autoselection`"
            },
            {
              "textRaw": "`--enable-source-maps`",
              "name": "`--enable-source-maps`",
              "meta": {
                "added": [
                  "v12.12.0"
                ],
                "changes": [
                  {
                    "version": [
                      "v15.11.0",
                      "v14.18.0"
                    ],
                    "pr-url": "https://github.com/nodejs/node/pull/37362",
                    "description": "This API is no longer experimental."
                  }
                ]
              },
              "desc": "<p>Enable <a href=\"https://sourcemaps.info/spec.html\">Source Map v3</a> support for stack traces.</p>\n<p>When using a transpiler, such as TypeScript, stack traces thrown by an\napplication reference the transpiled code, not the original source position.\n<code>--enable-source-maps</code> enables caching of Source Maps and makes a best\neffort to report stack traces relative to the original source file.</p>\n<p>Overriding <code>Error.prepareStackTrace</code> may prevent <code>--enable-source-maps</code> from\nmodifying the stack trace. Call and return the results of the original\n<code>Error.prepareStackTrace</code> in the overriding function to modify the stack trace\nwith source maps.</p>\n<pre><code class=\"language-js\">const originalPrepareStackTrace = Error.prepareStackTrace;\nError.prepareStackTrace = (error, trace) => {\n  // Modify error and trace and format stack trace with\n  // original Error.prepareStackTrace.\n  return originalPrepareStackTrace(error, trace);\n};\n</code></pre>\n<p>Note, enabling source maps can introduce latency to your application\nwhen <code>Error.stack</code> is accessed. If you access <code>Error.stack</code> frequently\nin your application, take into account the performance implications\nof <code>--enable-source-maps</code>.</p>",
              "type": "module",
              "displayName": "`--enable-source-maps`"
            },
            {
              "textRaw": "`--entry-url`",
              "name": "`--entry-url`",
              "meta": {
                "added": [
                  "v23.0.0"
                ],
                "changes": []
              },
              "stability": 1,
              "stabilityText": "Experimental",
              "desc": "<p>When present, Node.js will interpret the entry point as a URL, rather than a\npath.</p>\n<p>Follows <a href=\"esm.html#modules-ecmascript-modules\">ECMAScript module</a> resolution rules.</p>\n<p>Any query parameter or hash in the URL will be accessible via <a href=\"esm.html#importmetaurl\"><code>import.meta.url</code></a>.</p>\n<pre><code class=\"language-bash\">node --entry-url 'file:///path/to/file.js?queryparams=work#and-hashes-too'\nnode --entry-url --experimental-strip-types 'file.ts?query#hash'\nnode --entry-url 'data:text/javascript,console.log(\"Hello\")'\n</code></pre>",
              "type": "module",
              "displayName": "`--entry-url`"
            },
            {
              "textRaw": "`--env-file=config`",
              "name": "`--env-file=config`",
              "stability": 1,
              "stabilityText": ".1 - Active development",
              "meta": {
                "added": [
                  "v20.6.0"
                ],
                "changes": [
                  {
                    "version": [
                      "v21.7.0",
                      "v20.12.0"
                    ],
                    "pr-url": "https://github.com/nodejs/node/pull/51289",
                    "description": "Add support to multi-line values."
                  }
                ]
              },
              "desc": "<p>Loads environment variables from a file relative to the current directory,\nmaking them available to applications on <code>process.env</code>. The <a href=\"#environment-variables\">environment\nvariables which configure Node.js</a>, such as <code>NODE_OPTIONS</code>,\nare parsed and applied. If the same variable is defined in the environment and\nin the file, the value from the environment takes precedence.</p>\n<p>You can pass multiple <code>--env-file</code> arguments. Subsequent files override\npre-existing variables defined in previous files.</p>\n<p>An error is thrown if the file does not exist.</p>\n<pre><code class=\"language-bash\">node --env-file=.env --env-file=.development.env index.js\n</code></pre>\n<p>The format of the file should be one line per key-value pair of environment\nvariable name and value separated by <code>=</code>:</p>\n<pre><code class=\"language-text\">PORT=3000\n</code></pre>\n<p>Any text after a <code>#</code> is treated as a comment:</p>\n<pre><code class=\"language-text\"># This is a comment\nPORT=3000 # This is also a comment\n</code></pre>\n<p>Values can start and end with the following quotes: <code>`</code>, <code>\"</code> or <code>'</code>.\nThey are omitted from the values.</p>\n<pre><code class=\"language-text\">USERNAME=\"nodejs\" # will result in `nodejs` as the value.\n</code></pre>\n<p>Multi-line values are supported:</p>\n<pre><code class=\"language-text\">MULTI_LINE=\"THIS IS\nA MULTILINE\"\n# will result in `THIS IS\\nA MULTILINE` as the value.\n</code></pre>\n<p>Export keyword before a key is ignored:</p>\n<pre><code class=\"language-text\">export USERNAME=\"nodejs\" # will result in `nodejs` as the value.\n</code></pre>\n<p>If you want to load environment variables from a file that may not exist, you\ncan use the <a href=\"#--env-file-if-existsconfig\"><code>--env-file-if-exists</code></a> flag instead.</p>",
              "type": "module",
              "displayName": "`--env-file=config`"
            },
            {
              "textRaw": "`--env-file-if-exists=config`",
              "name": "`--env-file-if-exists=config`",
              "meta": {
                "added": [
                  "v22.9.0"
                ],
                "changes": []
              },
              "desc": "<p>Behavior is the same as <a href=\"#--env-fileconfig\"><code>--env-file</code></a>, but an error is not thrown if the file\ndoes not exist.</p>",
              "type": "module",
              "displayName": "`--env-file-if-exists=config`"
            },
            {
              "textRaw": "`-e`, `--eval \"script\"`",
              "name": "`-e`,_`--eval_\"script\"`",
              "meta": {
                "added": [
                  "v0.5.2"
                ],
                "changes": [
                  {
                    "version": "v22.6.0",
                    "pr-url": "https://github.com/nodejs/node/pull/53725",
                    "description": "Eval now supports experimental type-stripping."
                  },
                  {
                    "version": "v5.11.0",
                    "pr-url": "https://github.com/nodejs/node/pull/5348",
                    "description": "Built-in libraries are now available as predefined variables."
                  }
                ]
              },
              "desc": "<p>Evaluate the following argument as JavaScript. The modules which are\npredefined in the REPL can also be used in <code>script</code>.</p>\n<p>On Windows, using <code>cmd.exe</code> a single quote will not work correctly because it\nonly recognizes double <code>\"</code> for quoting. In Powershell or Git bash, both <code>'</code>\nand <code>\"</code> are usable.</p>\n<p>It is possible to run code containing inline types by passing\n<a href=\"#--experimental-strip-types\"><code>--experimental-strip-types</code></a>.</p>",
              "type": "module",
              "displayName": "`-e`, `--eval \"script\"`"
            },
            {
              "textRaw": "`--experimental-async-context-frame`",
              "name": "`--experimental-async-context-frame`",
              "meta": {
                "added": [
                  "v22.7.0"
                ],
                "changes": []
              },
              "stability": 1,
              "stabilityText": "Experimental",
              "desc": "<p>Enables the use of <a href=\"async_context.html#class-asynclocalstorage\"><code>AsyncLocalStorage</code></a> backed by <code>AsyncContextFrame</code> rather\nthan the default implementation which relies on async_hooks. This new model is\nimplemented very differently and so could have differences in how context data\nflows within the application. As such, it is presently recommended to be sure\nyour application behaviour is unaffected by this change before using it in\nproduction.</p>",
              "type": "module",
              "displayName": "`--experimental-async-context-frame`"
            },
            {
              "textRaw": "`--experimental-default-type=type`",
              "name": "`--experimental-default-type=type`",
              "meta": {
                "added": [
                  "v21.0.0",
                  "v20.10.0",
                  "v18.19.0"
                ],
                "changes": []
              },
              "stability": 1,
              "stabilityText": ".0 - Early development",
              "desc": "<p>Define which module system, <code>module</code> or <code>commonjs</code>, to use for the following:</p>\n<ul>\n<li>\n<p>String input provided via <code>--eval</code> or STDIN, if <code>--input-type</code> is unspecified.</p>\n</li>\n<li>\n<p>Files ending in <code>.js</code> or with no extension, if there is no <code>package.json</code> file\npresent in the same folder or any parent folder.</p>\n</li>\n<li>\n<p>Files ending in <code>.js</code> or with no extension, if the nearest parent\n<code>package.json</code> field lacks a <code>\"type\"</code> field; unless the <code>package.json</code> folder\nor any parent folder is inside a <code>node_modules</code> folder.</p>\n</li>\n</ul>\n<p>In other words, <code>--experimental-default-type=module</code> flips all the places where\nNode.js currently defaults to CommonJS to instead default to ECMAScript modules,\nwith the exception of folders and subfolders below <code>node_modules</code>, for backward\ncompatibility.</p>\n<p>Under <code>--experimental-default-type=module</code> and <code>--experimental-wasm-modules</code>,\nfiles with no extension will be treated as WebAssembly if they begin with the\nWebAssembly magic number (<code>\\0asm</code>); otherwise they will be treated as ES module\nJavaScript.</p>",
              "type": "module",
              "displayName": "`--experimental-default-type=type`"
            },
            {
              "textRaw": "`--experimental-transform-types`",
              "name": "`--experimental-transform-types`",
              "meta": {
                "added": [
                  "v22.7.0"
                ],
                "changes": []
              },
              "stability": 1,
              "stabilityText": ".1 - Active development",
              "desc": "<p>Enables the transformation of TypeScript-only syntax into JavaScript code.\nImplies <code>--experimental-strip-types</code> and <code>--enable-source-maps</code>.</p>",
              "type": "module",
              "displayName": "`--experimental-transform-types`"
            },
            {
              "textRaw": "`--experimental-eventsource`",
              "name": "`--experimental-eventsource`",
              "meta": {
                "added": [
                  "v22.3.0",
                  "v20.18.0"
                ],
                "changes": []
              },
              "desc": "<p>Enable exposition of <a href=\"https://html.spec.whatwg.org/multipage/server-sent-events.html#server-sent-events\">EventSource Web API</a> on the global scope.</p>",
              "type": "module",
              "displayName": "`--experimental-eventsource`"
            },
            {
              "textRaw": "`--experimental-import-meta-resolve`",
              "name": "`--experimental-import-meta-resolve`",
              "meta": {
                "added": [
                  "v13.9.0",
                  "v12.16.2"
                ],
                "changes": [
                  {
                    "version": [
                      "v20.6.0",
                      "v18.19.0"
                    ],
                    "pr-url": "https://github.com/nodejs/node/pull/49028",
                    "description": "synchronous import.meta.resolve made available by default, with the flag retained for enabling the experimental second argument as previously supported."
                  }
                ]
              },
              "desc": "<p>Enable experimental <code>import.meta.resolve()</code> parent URL support, which allows\npassing a second <code>parentURL</code> argument for contextual resolution.</p>\n<p>Previously gated the entire <code>import.meta.resolve</code> feature.</p>",
              "type": "module",
              "displayName": "`--experimental-import-meta-resolve`"
            },
            {
              "textRaw": "`--experimental-loader=module`",
              "name": "`--experimental-loader=module`",
              "meta": {
                "added": [
                  "v8.8.0"
                ],
                "changes": [
                  {
                    "version": "v12.11.1",
                    "pr-url": "https://github.com/nodejs/node/pull/29752",
                    "description": "This flag was renamed from `--loader` to `--experimental-loader`."
                  }
                ]
              },
              "desc": "<blockquote>\n<p>This flag is discouraged and may be removed in a future version of Node.js.\nPlease use\n<a href=\"module.html#enabling\"><code>--import</code> with <code>register()</code></a> instead.</p>\n</blockquote>\n<p>Specify the <code>module</code> containing exported <a href=\"module.html#customization-hooks\">module customization hooks</a>.\n<code>module</code> may be any string accepted as an <a href=\"esm.html#import-specifiers\"><code>import</code> specifier</a>.</p>",
              "type": "module",
              "displayName": "`--experimental-loader=module`"
            },
            {
              "textRaw": "`--experimental-network-inspection`",
              "name": "`--experimental-network-inspection`",
              "meta": {
                "added": [
                  "v22.6.0",
                  "v20.18.0"
                ],
                "changes": []
              },
              "stability": 1,
              "stabilityText": "Experimental",
              "desc": "<p>Enable experimental support for the network inspection with Chrome DevTools.</p>",
              "type": "module",
              "displayName": "`--experimental-network-inspection`"
            },
            {
              "textRaw": "`--experimental-permission`",
              "name": "`--experimental-permission`",
              "meta": {
                "added": [
                  "v20.0.0"
                ],
                "changes": []
              },
              "stability": 1,
              "stabilityText": ".1 - Active development",
              "desc": "<p>Enable the Permission Model for current process. When enabled, the\nfollowing permissions are restricted:</p>\n<ul>\n<li>File System - manageable through\n<a href=\"#--allow-fs-read\"><code>--allow-fs-read</code></a>, <a href=\"#--allow-fs-write\"><code>--allow-fs-write</code></a> flags</li>\n<li>Child Process - manageable through <a href=\"#--allow-child-process\"><code>--allow-child-process</code></a> flag</li>\n<li>Worker Threads - manageable through <a href=\"#--allow-worker\"><code>--allow-worker</code></a> flag</li>\n<li>WASI - manageable through <a href=\"#--allow-wasi\"><code>--allow-wasi</code></a> flag</li>\n<li>Addons - manageable through <a href=\"#--allow-addons\"><code>--allow-addons</code></a> flag</li>\n</ul>",
              "type": "module",
              "displayName": "`--experimental-permission`"
            },
            {
              "textRaw": "`--experimental-require-module`",
              "name": "`--experimental-require-module`",
              "meta": {
                "added": [
                  "v22.0.0",
                  "v20.17.0"
                ],
                "changes": [
                  {
                    "version": "v23.0.0",
                    "pr-url": "https://github.com/nodejs/node/pull/55085",
                    "description": "This is now true by default."
                  }
                ]
              },
              "stability": 1,
              "stabilityText": ".1 - Active Development",
              "desc": "<p>Supports loading a synchronous ES module graph in <code>require()</code>.</p>\n<p>See <a href=\"modules.html#loading-ecmascript-modules-using-require\">Loading ECMAScript modules using <code>require()</code></a>.</p>",
              "type": "module",
              "displayName": "`--experimental-require-module`"
            },
            {
              "textRaw": "`--experimental-sea-config`",
              "name": "`--experimental-sea-config`",
              "meta": {
                "added": [
                  "v20.0.0"
                ],
                "changes": []
              },
              "stability": 1,
              "stabilityText": "Experimental",
              "desc": "<p>Use this flag to generate a blob that can be injected into the Node.js\nbinary to produce a <a href=\"single-executable-applications.html\">single executable application</a>. See the documentation\nabout <a href=\"single-executable-applications.html#generating-single-executable-preparation-blobs\">this configuration</a> for details.</p>",
              "type": "module",
              "displayName": "`--experimental-sea-config`"
            },
            {
              "textRaw": "`--experimental-shadow-realm`",
              "name": "`--experimental-shadow-realm`",
              "meta": {
                "added": [
                  "v19.0.0",
                  "v18.13.0"
                ],
                "changes": []
              },
              "desc": "<p>Use this flag to enable <a href=\"https://github.com/tc39/proposal-shadowrealm\">ShadowRealm</a> support.</p>",
              "type": "module",
              "displayName": "`--experimental-shadow-realm`"
            },
            {
              "textRaw": "`--experimental-sqlite`",
              "name": "`--experimental-sqlite`",
              "meta": {
                "added": [
                  "v22.5.0"
                ],
                "changes": []
              },
              "desc": "<p>Enable the experimental <a href=\"sqlite.html\"><code>node:sqlite</code></a> module.</p>",
              "type": "module",
              "displayName": "`--experimental-sqlite`"
            },
            {
              "textRaw": "`--experimental-strip-types`",
              "name": "`--experimental-strip-types`",
              "meta": {
                "added": [
                  "v22.6.0"
                ],
                "changes": []
              },
              "stability": 1,
              "stabilityText": ".1 - Active development",
              "desc": "<p>Enable experimental type-stripping for TypeScript files.\nFor more information, see the <a href=\"typescript.html#type-stripping\">TypeScript type-stripping</a> documentation.</p>",
              "type": "module",
              "displayName": "`--experimental-strip-types`"
            },
            {
              "textRaw": "`--experimental-test-coverage`",
              "name": "`--experimental-test-coverage`",
              "meta": {
                "added": [
                  "v19.7.0",
                  "v18.15.0"
                ],
                "changes": [
                  {
                    "version": [
                      "v20.1.0",
                      "v18.17.0"
                    ],
                    "pr-url": "https://github.com/nodejs/node/pull/47686",
                    "description": "This option can be used with `--test`."
                  }
                ]
              },
              "desc": "<p>When used in conjunction with the <code>node:test</code> module, a code coverage report is\ngenerated as part of the test runner output. If no tests are run, a coverage\nreport is not generated. See the documentation on\n<a href=\"test.html#collecting-code-coverage\">collecting code coverage from tests</a> for more details.</p>",
              "type": "module",
              "displayName": "`--experimental-test-coverage`"
            },
            {
              "textRaw": "`--experimental-test-isolation=mode`",
              "name": "`--experimental-test-isolation=mode`",
              "meta": {
                "added": [
                  "v22.8.0"
                ],
                "changes": []
              },
              "stability": 1,
              "stabilityText": ".0 - Early development",
              "desc": "<p>Configures the type of test isolation used in the test runner. When <code>mode</code> is\n<code>'process'</code>, each test file is run in a separate child process. When <code>mode</code> is\n<code>'none'</code>, all test files run in the same process as the test runner. The default\nisolation mode is <code>'process'</code>. This flag is ignored if the <code>--test</code> flag is not\npresent. See the <a href=\"test.html#test-runner-execution-model\">test runner execution model</a> section for more information.</p>",
              "type": "module",
              "displayName": "`--experimental-test-isolation=mode`"
            },
            {
              "textRaw": "`--experimental-test-module-mocks`",
              "name": "`--experimental-test-module-mocks`",
              "meta": {
                "added": [
                  "v22.3.0",
                  "v20.18.0"
                ],
                "changes": []
              },
              "stability": 1,
              "stabilityText": ".0 - Early development",
              "desc": "<p>Enable module mocking in the test runner.</p>",
              "type": "module",
              "displayName": "`--experimental-test-module-mocks`"
            },
            {
              "textRaw": "`--experimental-test-snapshots`",
              "name": "`--experimental-test-snapshots`",
              "meta": {
                "added": [
                  "v22.3.0"
                ],
                "changes": []
              },
              "stability": 1,
              "stabilityText": ".0 - Early development",
              "desc": "<p>Enable <a href=\"test.html#snapshot-testing\">snapshot testing</a> in the test runner.</p>",
              "type": "module",
              "displayName": "`--experimental-test-snapshots`"
            },
            {
              "textRaw": "`--experimental-vm-modules`",
              "name": "`--experimental-vm-modules`",
              "meta": {
                "added": [
                  "v9.6.0"
                ],
                "changes": []
              },
              "desc": "<p>Enable experimental ES Module support in the <code>node:vm</code> module.</p>",
              "type": "module",
              "displayName": "`--experimental-vm-modules`"
            },
            {
              "textRaw": "`--experimental-wasi-unstable-preview1`",
              "name": "`--experimental-wasi-unstable-preview1`",
              "meta": {
                "added": [
                  "v13.3.0",
                  "v12.16.0"
                ],
                "changes": [
                  {
                    "version": [
                      "v20.0.0",
                      "v18.17.0"
                    ],
                    "pr-url": "https://github.com/nodejs/node/pull/47286",
                    "description": "This option is no longer required as WASI is enabled by default, but can still be passed."
                  },
                  {
                    "version": "v13.6.0",
                    "pr-url": "https://github.com/nodejs/node/pull/30980",
                    "description": "changed from `--experimental-wasi-unstable-preview0` to `--experimental-wasi-unstable-preview1`."
                  }
                ]
              },
              "desc": "<p>Enable experimental WebAssembly System Interface (WASI) support.</p>",
              "type": "module",
              "displayName": "`--experimental-wasi-unstable-preview1`"
            },
            {
              "textRaw": "`--experimental-wasm-modules`",
              "name": "`--experimental-wasm-modules`",
              "meta": {
                "added": [
                  "v12.3.0"
                ],
                "changes": []
              },
              "desc": "<p>Enable experimental WebAssembly module support.</p>",
              "type": "module",
              "displayName": "`--experimental-wasm-modules`"
            },
            {
              "textRaw": "`--experimental-webstorage`",
              "name": "`--experimental-webstorage`",
              "meta": {
                "added": [
                  "v22.4.0"
                ],
                "changes": []
              },
              "desc": "<p>Enable experimental <a href=\"https://developer.mozilla.org/en-US/docs/Web/API/Web_Storage_API\"><code>Web Storage</code></a> support.</p>",
              "type": "module",
              "displayName": "`--experimental-webstorage`"
            },
            {
              "textRaw": "`--force-context-aware`",
              "name": "`--force-context-aware`",
              "meta": {
                "added": [
                  "v12.12.0"
                ],
                "changes": []
              },
              "desc": "<p>Disable loading native addons that are not <a href=\"addons.html#context-aware-addons\">context-aware</a>.</p>",
              "type": "module",
              "displayName": "`--force-context-aware`"
            },
            {
              "textRaw": "`--force-fips`",
              "name": "`--force-fips`",
              "meta": {
                "added": [
                  "v6.0.0"
                ],
                "changes": []
              },
              "desc": "<p>Force FIPS-compliant crypto on startup. (Cannot be disabled from script code.)\n(Same requirements as <code>--enable-fips</code>.)</p>",
              "type": "module",
              "displayName": "`--force-fips`"
            },
            {
              "textRaw": "`--force-node-api-uncaught-exceptions-policy`",
              "name": "`--force-node-api-uncaught-exceptions-policy`",
              "meta": {
                "added": [
                  "v18.3.0",
                  "v16.17.0"
                ],
                "changes": []
              },
              "desc": "<p>Enforces <code>uncaughtException</code> event on Node-API asynchronous callbacks.</p>\n<p>To prevent from an existing add-on from crashing the process, this flag is not\nenabled by default. In the future, this flag will be enabled by default to\nenforce the correct behavior.</p>",
              "type": "module",
              "displayName": "`--force-node-api-uncaught-exceptions-policy`"
            },
            {
              "textRaw": "`--frozen-intrinsics`",
              "name": "`--frozen-intrinsics`",
              "meta": {
                "added": [
                  "v11.12.0"
                ],
                "changes": []
              },
              "stability": 1,
              "stabilityText": "Experimental",
              "desc": "<p>Enable experimental frozen intrinsics like <code>Array</code> and <code>Object</code>.</p>\n<p>Only the root context is supported. There is no guarantee that\n<code>globalThis.Array</code> is indeed the default intrinsic reference. Code may break\nunder this flag.</p>\n<p>To allow polyfills to be added,\n<a href=\"#-r---require-module\"><code>--require</code></a> and <a href=\"#--importmodule\"><code>--import</code></a> both run before freezing intrinsics.</p>",
              "type": "module",
              "displayName": "`--frozen-intrinsics`"
            },
            {
              "textRaw": "`--heap-prof`",
              "name": "`--heap-prof`",
              "meta": {
                "added": [
                  "v12.4.0"
                ],
                "changes": [
                  {
                    "version": [
                      "v22.4.0",
                      "v20.16.0"
                    ],
                    "pr-url": "https://github.com/nodejs/node/pull/53343",
                    "description": "The `--heap-prof` flags are now stable."
                  }
                ]
              },
              "stability": 2,
              "stabilityText": "Stable",
              "desc": "<p>Starts the V8 heap profiler on start up, and writes the heap profile to disk\nbefore exit.</p>\n<p>If <code>--heap-prof-dir</code> is not specified, the generated profile is placed\nin the current working directory.</p>\n<p>If <code>--heap-prof-name</code> is not specified, the generated profile is\nnamed <code>Heap.${yyyymmdd}.${hhmmss}.${pid}.${tid}.${seq}.heapprofile</code>.</p>\n<pre><code class=\"language-console\">$ node --heap-prof index.js\n$ ls *.heapprofile\nHeap.20190409.202950.15293.0.001.heapprofile\n</code></pre>",
              "type": "module",
              "displayName": "`--heap-prof`"
            },
            {
              "textRaw": "`--heap-prof-dir`",
              "name": "`--heap-prof-dir`",
              "meta": {
                "added": [
                  "v12.4.0"
                ],
                "changes": [
                  {
                    "version": [
                      "v22.4.0",
                      "v20.16.0"
                    ],
                    "pr-url": "https://github.com/nodejs/node/pull/53343",
                    "description": "The `--heap-prof` flags are now stable."
                  }
                ]
              },
              "stability": 2,
              "stabilityText": "Stable",
              "desc": "<p>Specify the directory where the heap profiles generated by <code>--heap-prof</code> will\nbe placed.</p>\n<p>The default value is controlled by the\n<a href=\"#--diagnostic-dirdirectory\"><code>--diagnostic-dir</code></a> command-line option.</p>",
              "type": "module",
              "displayName": "`--heap-prof-dir`"
            },
            {
              "textRaw": "`--heap-prof-interval`",
              "name": "`--heap-prof-interval`",
              "meta": {
                "added": [
                  "v12.4.0"
                ],
                "changes": [
                  {
                    "version": [
                      "v22.4.0",
                      "v20.16.0"
                    ],
                    "pr-url": "https://github.com/nodejs/node/pull/53343",
                    "description": "The `--heap-prof` flags are now stable."
                  }
                ]
              },
              "stability": 2,
              "stabilityText": "Stable",
              "desc": "<p>Specify the average sampling interval in bytes for the heap profiles generated\nby <code>--heap-prof</code>. The default is 512 * 1024 bytes.</p>",
              "type": "module",
              "displayName": "`--heap-prof-interval`"
            },
            {
              "textRaw": "`--heap-prof-name`",
              "name": "`--heap-prof-name`",
              "meta": {
                "added": [
                  "v12.4.0"
                ],
                "changes": [
                  {
                    "version": [
                      "v22.4.0",
                      "v20.16.0"
                    ],
                    "pr-url": "https://github.com/nodejs/node/pull/53343",
                    "description": "The `--heap-prof` flags are now stable."
                  }
                ]
              },
              "stability": 2,
              "stabilityText": "Stable",
              "desc": "<p>Specify the file name of the heap profile generated by <code>--heap-prof</code>.</p>",
              "type": "module",
              "displayName": "`--heap-prof-name`"
            },
            {
              "textRaw": "`--heapsnapshot-near-heap-limit=max_count`",
              "name": "`--heapsnapshot-near-heap-limit=max_count`",
              "meta": {
                "added": [
                  "v15.1.0",
                  "v14.18.0"
                ],
                "changes": []
              },
              "stability": 1,
              "stabilityText": "Experimental",
              "desc": "<p>Writes a V8 heap snapshot to disk when the V8 heap usage is approaching the\nheap limit. <code>count</code> should be a non-negative integer (in which case\nNode.js will write no more than <code>max_count</code> snapshots to disk).</p>\n<p>When generating snapshots, garbage collection may be triggered and bring\nthe heap usage down. Therefore multiple snapshots may be written to disk\nbefore the Node.js instance finally runs out of memory. These heap snapshots\ncan be compared to determine what objects are being allocated during the\ntime consecutive snapshots are taken. It's not guaranteed that Node.js will\nwrite exactly <code>max_count</code> snapshots to disk, but it will try\nits best to generate at least one and up to <code>max_count</code> snapshots before the\nNode.js instance runs out of memory when <code>max_count</code> is greater than <code>0</code>.</p>\n<p>Generating V8 snapshots takes time and memory (both memory managed by the\nV8 heap and native memory outside the V8 heap). The bigger the heap is,\nthe more resources it needs. Node.js will adjust the V8 heap to accommodate\nthe additional V8 heap memory overhead, and try its best to avoid using up\nall the memory available to the process. When the process uses\nmore memory than the system deems appropriate, the process may be terminated\nabruptly by the system, depending on the system configuration.</p>\n<pre><code class=\"language-console\">$ node --max-old-space-size=100 --heapsnapshot-near-heap-limit=3 index.js\nWrote snapshot to Heap.20200430.100036.49580.0.001.heapsnapshot\nWrote snapshot to Heap.20200430.100037.49580.0.002.heapsnapshot\nWrote snapshot to Heap.20200430.100038.49580.0.003.heapsnapshot\n\n&#x3C;--- Last few GCs --->\n\n[49580:0x110000000]     4826 ms: Mark-sweep 130.6 (147.8) -> 130.5 (147.8) MB, 27.4 / 0.0 ms  (average mu = 0.126, current mu = 0.034) allocation failure scavenge might not succeed\n[49580:0x110000000]     4845 ms: Mark-sweep 130.6 (147.8) -> 130.6 (147.8) MB, 18.8 / 0.0 ms  (average mu = 0.088, current mu = 0.031) allocation failure scavenge might not succeed\n\n\n&#x3C;--- JS stacktrace --->\n\nFATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory\n....\n</code></pre>",
              "type": "module",
              "displayName": "`--heapsnapshot-near-heap-limit=max_count`"
            },
            {
              "textRaw": "`--heapsnapshot-signal=signal`",
              "name": "`--heapsnapshot-signal=signal`",
              "meta": {
                "added": [
                  "v12.0.0"
                ],
                "changes": []
              },
              "desc": "<p>Enables a signal handler that causes the Node.js process to write a heap dump\nwhen the specified signal is received. <code>signal</code> must be a valid signal name.\nDisabled by default.</p>\n<pre><code class=\"language-console\">$ node --heapsnapshot-signal=SIGUSR2 index.js &#x26;\n$ ps aux\nUSER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND\nnode         1  5.5  6.1 787252 247004 ?       Ssl  16:43   0:02 node --heapsnapshot-signal=SIGUSR2 index.js\n$ kill -USR2 1\n$ ls\nHeap.20190718.133405.15554.0.001.heapsnapshot\n</code></pre>",
              "type": "module",
              "displayName": "`--heapsnapshot-signal=signal`"
            },
            {
              "textRaw": "`-h`, `--help`",
              "name": "`-h`,_`--help`",
              "meta": {
                "added": [
                  "v0.1.3"
                ],
                "changes": []
              },
              "desc": "<p>Print node command-line options.\nThe output of this option is less detailed than this document.</p>",
              "type": "module",
              "displayName": "`-h`, `--help`"
            },
            {
              "textRaw": "`--icu-data-dir=file`",
              "name": "`--icu-data-dir=file`",
              "meta": {
                "added": [
                  "v0.11.15"
                ],
                "changes": []
              },
              "desc": "<p>Specify ICU data load path. (Overrides <code>NODE_ICU_DATA</code>.)</p>",
              "type": "module",
              "displayName": "`--icu-data-dir=file`"
            },
            {
              "textRaw": "`--import=module`",
              "name": "`--import=module`",
              "meta": {
                "added": [
                  "v19.0.0",
                  "v18.18.0"
                ],
                "changes": []
              },
              "stability": 1,
              "stabilityText": "Experimental",
              "desc": "<p>Preload the specified module at startup. If the flag is provided several times,\neach module will be executed sequentially in the order they appear, starting\nwith the ones provided in <a href=\"#node_optionsoptions\"><code>NODE_OPTIONS</code></a>.</p>\n<p>Follows <a href=\"esm.html#modules-ecmascript-modules\">ECMAScript module</a> resolution rules.\nUse <a href=\"#-r---require-module\"><code>--require</code></a> to load a <a href=\"modules.html\">CommonJS module</a>.\nModules preloaded with <code>--require</code> will run before modules preloaded with <code>--import</code>.</p>\n<p>Modules are preloaded into the main thread as well as any worker threads,\nforked processes, or clustered processes.</p>",
              "type": "module",
              "displayName": "`--import=module`"
            },
            {
              "textRaw": "`--input-type=type`",
              "name": "`--input-type=type`",
              "meta": {
                "added": [
                  "v12.0.0"
                ],
                "changes": []
              },
              "desc": "<p>This configures Node.js to interpret <code>--eval</code> or <code>STDIN</code> input as CommonJS or\nas an ES module. Valid values are <code>\"commonjs\"</code> or <code>\"module\"</code>. The default is\n<code>\"commonjs\"</code> unless <a href=\"#--experimental-default-typetype\"><code>--experimental-default-type=module</code></a> is used.</p>\n<p>The REPL does not support this option. Usage of <code>--input-type=module</code> with\n<a href=\"#-p---print-script\"><code>--print</code></a> will throw an error, as <code>--print</code> does not support ES module\nsyntax.</p>",
              "type": "module",
              "displayName": "`--input-type=type`"
            },
            {
              "textRaw": "`--insecure-http-parser`",
              "name": "`--insecure-http-parser`",
              "meta": {
                "added": [
                  "v13.4.0",
                  "v12.15.0",
                  "v10.19.0"
                ],
                "changes": []
              },
              "desc": "<p>Enable leniency flags on the HTTP parser. This may allow\ninteroperability with non-conformant HTTP implementations.</p>\n<p>When enabled, the parser will accept the following:</p>\n<ul>\n<li>Invalid HTTP headers values.</li>\n<li>Invalid HTTP versions.</li>\n<li>Allow message containing both <code>Transfer-Encoding</code>\nand <code>Content-Length</code> headers.</li>\n<li>Allow extra data after message when <code>Connection: close</code> is present.</li>\n<li>Allow extra transfer encodings after <code>chunked</code> has been provided.</li>\n<li>Allow <code>\\n</code> to be used as token separator instead of <code>\\r\\n</code>.</li>\n<li>Allow <code>\\r\\n</code> not to be provided after a chunk.</li>\n<li>Allow spaces to be present after a chunk size and before <code>\\r\\n</code>.</li>\n</ul>\n<p>All the above will expose your application to request smuggling\nor poisoning attack. Avoid using this option.</p>",
              "type": "module",
              "displayName": "`--insecure-http-parser`"
            },
            {
              "textRaw": "`--inspect[=[host:]port]`",
              "name": "`--inspect[=[host:]port]`",
              "meta": {
                "added": [
                  "v6.3.0"
                ],
                "changes": []
              },
              "desc": "<p>Activate inspector on <code>host:port</code>. Default is <code>127.0.0.1:9229</code>. If port <code>0</code> is\nspecified, a random available port will be used.</p>\n<p>V8 inspector integration allows tools such as Chrome DevTools and IDEs to debug\nand profile Node.js instances. The tools attach to Node.js instances via a\ntcp port and communicate using the <a href=\"https://chromedevtools.github.io/devtools-protocol/\">Chrome DevTools Protocol</a>.\nSee <a href=\"debugger.html#v8-inspector-integration-for-nodejs\">V8 Inspector integration for Node.js</a> for further explanation on Node.js debugger.</p>\n<!-- Anchor to make sure old links find a target -->\n<p><a id=\"inspector_security\"></a></p>",
              "modules": [
                {
                  "textRaw": "Warning: binding inspector to a public IP:port combination is insecure",
                  "name": "warning:_binding_inspector_to_a_public_ip:port_combination_is_insecure",
                  "desc": "<p>Binding the inspector to a public IP (including <code>0.0.0.0</code>) with an open port is\ninsecure, as it allows external hosts to connect to the inspector and perform\na <a href=\"https://www.owasp.org/index.php/Code_Injection\">remote code execution</a> attack.</p>\n<p>If specifying a host, make sure that either:</p>\n<ul>\n<li>The host is not accessible from public networks.</li>\n<li>A firewall disallows unwanted connections on the port.</li>\n</ul>\n<p><strong>More specifically, <code>--inspect=0.0.0.0</code> is insecure if the port (<code>9229</code> by\ndefault) is not firewall-protected.</strong></p>\n<p>See the <a href=\"https://nodejs.org/en/docs/guides/debugging-getting-started/#security-implications\">debugging security implications</a> section for more information.</p>",
                  "type": "module",
                  "displayName": "Warning: binding inspector to a public IP:port combination is insecure"
                }
              ],
              "type": "module",
              "displayName": "`--inspect[=[host:]port]`"
            },
            {
              "textRaw": "`--inspect-brk[=[host:]port]`",
              "name": "`--inspect-brk[=[host:]port]`",
              "meta": {
                "added": [
                  "v7.6.0"
                ],
                "changes": []
              },
              "desc": "<p>Activate inspector on <code>host:port</code> and break at start of user script.\nDefault <code>host:port</code> is <code>127.0.0.1:9229</code>. If port <code>0</code> is specified,\na random available port will be used.</p>\n<p>See <a href=\"debugger.html#v8-inspector-integration-for-nodejs\">V8 Inspector integration for Node.js</a> for further explanation on Node.js debugger.</p>",
              "type": "module",
              "displayName": "`--inspect-brk[=[host:]port]`"
            },
            {
              "textRaw": "`--inspect-port=[host:]port`",
              "name": "`--inspect-port=[host:]port`",
              "meta": {
                "added": [
                  "v7.6.0"
                ],
                "changes": []
              },
              "desc": "<p>Set the <code>host:port</code> to be used when the inspector is activated.\nUseful when activating the inspector by sending the <code>SIGUSR1</code> signal.</p>\n<p>Default host is <code>127.0.0.1</code>. If port <code>0</code> is specified,\na random available port will be used.</p>\n<p>See the <a href=\"#warning-binding-inspector-to-a-public-ipport-combination-is-insecure\">security warning</a> below regarding the <code>host</code>\nparameter usage.</p>",
              "type": "module",
              "displayName": "`--inspect-port=[host:]port`"
            },
            {
              "textRaw": "`--inspect-publish-uid=stderr,http`",
              "name": "`--inspect-publish-uid=stderr,http`",
              "desc": "<p>Specify ways of the inspector web socket url exposure.</p>\n<p>By default inspector websocket url is available in stderr and under <code>/json/list</code>\nendpoint on <code>http://host:port/json/list</code>.</p>",
              "type": "module",
              "displayName": "`--inspect-publish-uid=stderr,http`"
            },
            {
              "textRaw": "`--inspect-wait[=[host:]port]`",
              "name": "`--inspect-wait[=[host:]port]`",
              "meta": {
                "added": [
                  "v22.2.0",
                  "v20.15.0"
                ],
                "changes": []
              },
              "desc": "<p>Activate inspector on <code>host:port</code> and wait for debugger to be attached.\nDefault <code>host:port</code> is <code>127.0.0.1:9229</code>. If port <code>0</code> is specified,\na random available port will be used.</p>\n<p>See <a href=\"debugger.html#v8-inspector-integration-for-nodejs\">V8 Inspector integration for Node.js</a> for further explanation on Node.js debugger.</p>",
              "type": "module",
              "displayName": "`--inspect-wait[=[host:]port]`"
            },
            {
              "textRaw": "`-i`, `--interactive`",
              "name": "`-i`,_`--interactive`",
              "meta": {
                "added": [
                  "v0.7.7"
                ],
                "changes": []
              },
              "desc": "<p>Opens the REPL even if stdin does not appear to be a terminal.</p>",
              "type": "module",
              "displayName": "`-i`, `--interactive`"
            },
            {
              "textRaw": "`--jitless`",
              "name": "`--jitless`",
              "meta": {
                "added": [
                  "v12.0.0"
                ],
                "changes": []
              },
              "stability": 1,
              "stabilityText": "Experimental. This flag is inherited from V8 and is subject to change upstream.",
              "desc": "<p>Disable <a href=\"https://v8.dev/blog/jitless\">runtime allocation of executable memory</a>. This may be\nrequired on some platforms for security reasons. It can also reduce attack\nsurface on other platforms, but the performance impact may be severe.</p>",
              "type": "module",
              "displayName": "`--jitless`"
            },
            {
              "textRaw": "`--localstorage-file=file`",
              "name": "`--localstorage-file=file`",
              "meta": {
                "added": [
                  "v22.4.0"
                ],
                "changes": []
              },
              "desc": "<p>The file used to store <code>localStorage</code> data. If the file does not exist, it is\ncreated the first time <code>localStorage</code> is accessed. The same file may be shared\nbetween multiple Node.js processes concurrently. This flag is a no-op unless\nNode.js is started with the <code>--experimental-webstorage</code> flag.</p>",
              "type": "module",
              "displayName": "`--localstorage-file=file`"
            },
            {
              "textRaw": "`--max-http-header-size=size`",
              "name": "`--max-http-header-size=size`",
              "meta": {
                "added": [
                  "v11.6.0",
                  "v10.15.0"
                ],
                "changes": [
                  {
                    "version": "v13.13.0",
                    "pr-url": "https://github.com/nodejs/node/pull/32520",
                    "description": "Change maximum default size of HTTP headers from 8 KiB to 16 KiB."
                  }
                ]
              },
              "desc": "<p>Specify the maximum size, in bytes, of HTTP headers. Defaults to 16 KiB.</p>",
              "type": "module",
              "displayName": "`--max-http-header-size=size`"
            },
            {
              "textRaw": "`--napi-modules`",
              "name": "`--napi-modules`",
              "meta": {
                "added": [
                  "v7.10.0"
                ],
                "changes": []
              },
              "desc": "<p>This option is a no-op. It is kept for compatibility.</p>",
              "type": "module",
              "displayName": "`--napi-modules`"
            },
            {
              "textRaw": "`--network-family-autoselection-attempt-timeout`",
              "name": "`--network-family-autoselection-attempt-timeout`",
              "meta": {
                "added": [
                  "v22.1.0",
                  "v20.13.0"
                ],
                "changes": []
              },
              "desc": "<p>Sets the default value for the network family autoselection attempt timeout.\nFor more information, see <a href=\"net.html#netgetdefaultautoselectfamilyattempttimeout\"><code>net.getDefaultAutoSelectFamilyAttemptTimeout()</code></a>.</p>",
              "type": "module",
              "displayName": "`--network-family-autoselection-attempt-timeout`"
            },
            {
              "textRaw": "`--no-addons`",
              "name": "`--no-addons`",
              "meta": {
                "added": [
                  "v16.10.0",
                  "v14.19.0"
                ],
                "changes": []
              },
              "desc": "<p>Disable the <code>node-addons</code> exports condition as well as disable loading\nnative addons. When <code>--no-addons</code> is specified, calling <code>process.dlopen</code> or\nrequiring a native C++ addon will fail and throw an exception.</p>",
              "type": "module",
              "displayName": "`--no-addons`"
            },
            {
              "textRaw": "`--no-deprecation`",
              "name": "`--no-deprecation`",
              "meta": {
                "added": [
                  "v0.8.0"
                ],
                "changes": []
              },
              "desc": "<p>Silence deprecation warnings.</p>",
              "type": "module",
              "displayName": "`--no-deprecation`"
            },
            {
              "textRaw": "`--no-experimental-detect-module`",
              "name": "`--no-experimental-detect-module`",
              "meta": {
                "added": [
                  "v21.1.0",
                  "v20.10.0"
                ],
                "changes": [
                  {
                    "version": [
                      "v22.7.0"
                    ],
                    "pr-url": "https://github.com/nodejs/node/pull/53619",
                    "description": "Syntax detection is enabled by default."
                  }
                ]
              },
              "desc": "<p>Disable using <a href=\"packages.html#syntax-detection\">syntax detection</a> to determine module type.</p>",
              "type": "module",
              "displayName": "`--no-experimental-detect-module`"
            },
            {
              "textRaw": "`--no-experimental-global-navigator`",
              "name": "`--no-experimental-global-navigator`",
              "meta": {
                "added": [
                  "v21.2.0"
                ],
                "changes": []
              },
              "stability": 1,
              "stabilityText": "Experimental",
              "desc": "<p>Disable exposition of <a href=\"globals.html#navigator\">Navigator API</a> on the global scope.</p>",
              "type": "module",
              "displayName": "`--no-experimental-global-navigator`"
            },
            {
              "textRaw": "`--no-experimental-repl-await`",
              "name": "`--no-experimental-repl-await`",
              "meta": {
                "added": [
                  "v16.6.0"
                ],
                "changes": []
              },
              "desc": "<p>Use this flag to disable top-level await in REPL.</p>",
              "type": "module",
              "displayName": "`--no-experimental-repl-await`"
            },
            {
              "textRaw": "`--no-experimental-require-module`",
              "name": "`--no-experimental-require-module`",
              "meta": {
                "added": [
                  "v22.0.0",
                  "v20.17.0"
                ],
                "changes": [
                  {
                    "version": "v23.0.0",
                    "pr-url": "https://github.com/nodejs/node/pull/55085",
                    "description": "This is now false by default."
                  }
                ]
              },
              "stability": 1,
              "stabilityText": ".1 - Active Development",
              "desc": "<p>Disable support for loading a synchronous ES module graph in <code>require()</code>.</p>\n<p>See <a href=\"modules.html#loading-ecmascript-modules-using-require\">Loading ECMAScript modules using <code>require()</code></a>.</p>",
              "type": "module",
              "displayName": "`--no-experimental-require-module`"
            },
            {
              "textRaw": "`--no-experimental-websocket`",
              "name": "`--no-experimental-websocket`",
              "meta": {
                "added": [
                  "v22.0.0"
                ],
                "changes": []
              },
              "desc": "<p>Disable exposition of <a href=\"https://developer.mozilla.org/en-US/docs/Web/API/WebSocket\"><code>WebSocket</code></a> on the global scope.</p>",
              "type": "module",
              "displayName": "`--no-experimental-websocket`"
            },
            {
              "textRaw": "`--no-extra-info-on-fatal-exception`",
              "name": "`--no-extra-info-on-fatal-exception`",
              "meta": {
                "added": [
                  "v17.0.0"
                ],
                "changes": []
              },
              "desc": "<p>Hide extra information on fatal exception that causes exit.</p>",
              "type": "module",
              "displayName": "`--no-extra-info-on-fatal-exception`"
            },
            {
              "textRaw": "`--no-force-async-hooks-checks`",
              "name": "`--no-force-async-hooks-checks`",
              "meta": {
                "added": [
                  "v9.0.0"
                ],
                "changes": []
              },
              "desc": "<p>Disables runtime checks for <code>async_hooks</code>. These will still be enabled\ndynamically when <code>async_hooks</code> is enabled.</p>",
              "type": "module",
              "displayName": "`--no-force-async-hooks-checks`"
            },
            {
              "textRaw": "`--no-global-search-paths`",
              "name": "`--no-global-search-paths`",
              "meta": {
                "added": [
                  "v16.10.0"
                ],
                "changes": []
              },
              "desc": "<p>Do not search modules from global paths like <code>$HOME/.node_modules</code> and\n<code>$NODE_PATH</code>.</p>",
              "type": "module",
              "displayName": "`--no-global-search-paths`"
            },
            {
              "textRaw": "`--no-network-family-autoselection`",
              "name": "`--no-network-family-autoselection`",
              "meta": {
                "added": [
                  "v19.4.0"
                ],
                "changes": [
                  {
                    "version": "v20.0.0",
                    "pr-url": "https://github.com/nodejs/node/pull/46790",
                    "description": "The flag was renamed from `--no-enable-network-family-autoselection` to `--no-network-family-autoselection`. The old name can still work as an alias."
                  }
                ]
              },
              "desc": "<p>Disables the family autoselection algorithm unless connection options explicitly\nenables it.</p>",
              "type": "module",
              "displayName": "`--no-network-family-autoselection`"
            },
            {
              "textRaw": "`--no-warnings`",
              "name": "`--no-warnings`",
              "meta": {
                "added": [
                  "v6.0.0"
                ],
                "changes": []
              },
              "desc": "<p>Silence all process warnings (including deprecations).</p>",
              "type": "module",
              "displayName": "`--no-warnings`"
            },
            {
              "textRaw": "`--node-memory-debug`",
              "name": "`--node-memory-debug`",
              "meta": {
                "added": [
                  "v15.0.0",
                  "v14.18.0"
                ],
                "changes": []
              },
              "desc": "<p>Enable extra debug checks for memory leaks in Node.js internals. This is\nusually only useful for developers debugging Node.js itself.</p>",
              "type": "module",
              "displayName": "`--node-memory-debug`"
            },
            {
              "textRaw": "`--openssl-config=file`",
              "name": "`--openssl-config=file`",
              "meta": {
                "added": [
                  "v6.9.0"
                ],
                "changes": []
              },
              "desc": "<p>Load an OpenSSL configuration file on startup. Among other uses, this can be\nused to enable FIPS-compliant crypto if Node.js is built\nagainst FIPS-enabled OpenSSL.</p>",
              "type": "module",
              "displayName": "`--openssl-config=file`"
            },
            {
              "textRaw": "`--openssl-legacy-provider`",
              "name": "`--openssl-legacy-provider`",
              "meta": {
                "added": [
                  "v17.0.0",
                  "v16.17.0"
                ],
                "changes": []
              },
              "desc": "<p>Enable OpenSSL 3.0 legacy provider. For more information please see\n<a href=\"https://www.openssl.org/docs/man3.0/man7/OSSL_PROVIDER-legacy.html\">OSSL_PROVIDER-legacy</a>.</p>",
              "type": "module",
              "displayName": "`--openssl-legacy-provider`"
            },
            {
              "textRaw": "`--openssl-shared-config`",
              "name": "`--openssl-shared-config`",
              "meta": {
                "added": [
                  "v18.5.0",
                  "v16.17.0",
                  "v14.21.0"
                ],
                "changes": []
              },
              "desc": "<p>Enable OpenSSL default configuration section, <code>openssl_conf</code> to be read from\nthe OpenSSL configuration file. The default configuration file is named\n<code>openssl.cnf</code> but this can be changed using the environment variable\n<code>OPENSSL_CONF</code>, or by using the command line option <code>--openssl-config</code>.\nThe location of the default OpenSSL configuration file depends on how OpenSSL\nis being linked to Node.js. Sharing the OpenSSL configuration may have unwanted\nimplications and it is recommended to use a configuration section specific to\nNode.js which is <code>nodejs_conf</code> and is default when this option is not used.</p>",
              "type": "module",
              "displayName": "`--openssl-shared-config`"
            },
            {
              "textRaw": "`--pending-deprecation`",
              "name": "`--pending-deprecation`",
              "meta": {
                "added": [
                  "v8.0.0"
                ],
                "changes": []
              },
              "desc": "<p>Emit pending deprecation warnings.</p>\n<p>Pending deprecations are generally identical to a runtime deprecation with the\nnotable exception that they are turned <em>off</em> by default and will not be emitted\nunless either the <code>--pending-deprecation</code> command-line flag, or the\n<code>NODE_PENDING_DEPRECATION=1</code> environment variable, is set. Pending deprecations\nare used to provide a kind of selective \"early warning\" mechanism that\ndevelopers may leverage to detect deprecated API usage.</p>",
              "type": "module",
              "displayName": "`--pending-deprecation`"
            },
            {
              "textRaw": "`--preserve-symlinks`",
              "name": "`--preserve-symlinks`",
              "meta": {
                "added": [
                  "v6.3.0"
                ],
                "changes": []
              },
              "desc": "<p>Instructs the module loader to preserve symbolic links when resolving and\ncaching modules.</p>\n<p>By default, when Node.js loads a module from a path that is symbolically linked\nto a different on-disk location, Node.js will dereference the link and use the\nactual on-disk \"real path\" of the module as both an identifier and as a root\npath to locate other dependency modules. In most cases, this default behavior\nis acceptable. However, when using symbolically linked peer dependencies, as\nillustrated in the example below, the default behavior causes an exception to\nbe thrown if <code>moduleA</code> attempts to require <code>moduleB</code> as a peer dependency:</p>\n<pre><code class=\"language-text\">{appDir}\n ├── app\n │   ├── index.js\n │   └── node_modules\n │       ├── moduleA -> {appDir}/moduleA\n │       └── moduleB\n │           ├── index.js\n │           └── package.json\n └── moduleA\n     ├── index.js\n     └── package.json\n</code></pre>\n<p>The <code>--preserve-symlinks</code> command-line flag instructs Node.js to use the\nsymlink path for modules as opposed to the real path, allowing symbolically\nlinked peer dependencies to be found.</p>\n<p>Note, however, that using <code>--preserve-symlinks</code> can have other side effects.\nSpecifically, symbolically linked <em>native</em> modules can fail to load if those\nare linked from more than one location in the dependency tree (Node.js would\nsee those as two separate modules and would attempt to load the module multiple\ntimes, causing an exception to be thrown).</p>\n<p>The <code>--preserve-symlinks</code> flag does not apply to the main module, which allows\n<code>node --preserve-symlinks node_module/.bin/&#x3C;foo></code> to work. To apply the same\nbehavior for the main module, also use <code>--preserve-symlinks-main</code>.</p>",
              "type": "module",
              "displayName": "`--preserve-symlinks`"
            },
            {
              "textRaw": "`--preserve-symlinks-main`",
              "name": "`--preserve-symlinks-main`",
              "meta": {
                "added": [
                  "v10.2.0"
                ],
                "changes": []
              },
              "desc": "<p>Instructs the module loader to preserve symbolic links when resolving and\ncaching the main module (<code>require.main</code>).</p>\n<p>This flag exists so that the main module can be opted-in to the same behavior\nthat <code>--preserve-symlinks</code> gives to all other imports; they are separate flags,\nhowever, for backward compatibility with older Node.js versions.</p>\n<p><code>--preserve-symlinks-main</code> does not imply <code>--preserve-symlinks</code>; use\n<code>--preserve-symlinks-main</code> in addition to\n<code>--preserve-symlinks</code> when it is not desirable to follow symlinks before\nresolving relative paths.</p>\n<p>See <a href=\"#--preserve-symlinks\"><code>--preserve-symlinks</code></a> for more information.</p>",
              "type": "module",
              "displayName": "`--preserve-symlinks-main`"
            },
            {
              "textRaw": "`-p`, `--print \"script\"`",
              "name": "`-p`,_`--print_\"script\"`",
              "meta": {
                "added": [
                  "v0.6.4"
                ],
                "changes": [
                  {
                    "version": "v5.11.0",
                    "pr-url": "https://github.com/nodejs/node/pull/5348",
                    "description": "Built-in libraries are now available as predefined variables."
                  }
                ]
              },
              "desc": "<p>Identical to <code>-e</code> but prints the result.</p>",
              "type": "module",
              "displayName": "`-p`, `--print \"script\"`"
            },
            {
              "textRaw": "`--experimental-print-required-tla`",
              "name": "`--experimental-print-required-tla`",
              "meta": {
                "added": [
                  "v22.0.0",
                  "v20.17.0"
                ],
                "changes": []
              },
              "desc": "<p>If the ES module being <code>require()</code>'d contains top-level <code>await</code>, this flag\nallows Node.js to evaluate the module, try to locate the\ntop-level awaits, and print their location to help users find them.</p>",
              "type": "module",
              "displayName": "`--experimental-print-required-tla`"
            },
            {
              "textRaw": "`--prof`",
              "name": "`--prof`",
              "meta": {
                "added": [
                  "v2.0.0"
                ],
                "changes": []
              },
              "desc": "<p>Generate V8 profiler output.</p>",
              "type": "module",
              "displayName": "`--prof`"
            },
            {
              "textRaw": "`--prof-process`",
              "name": "`--prof-process`",
              "meta": {
                "added": [
                  "v5.2.0"
                ],
                "changes": []
              },
              "desc": "<p>Process V8 profiler output generated using the V8 option <code>--prof</code>.</p>",
              "type": "module",
              "displayName": "`--prof-process`"
            },
            {
              "textRaw": "`--redirect-warnings=file`",
              "name": "`--redirect-warnings=file`",
              "meta": {
                "added": [
                  "v8.0.0"
                ],
                "changes": []
              },
              "desc": "<p>Write process warnings to the given file instead of printing to stderr. The\nfile will be created if it does not exist, and will be appended to if it does.\nIf an error occurs while attempting to write the warning to the file, the\nwarning will be written to stderr instead.</p>\n<p>The <code>file</code> name may be an absolute path. If it is not, the default directory it\nwill be written to is controlled by the\n<a href=\"#--diagnostic-dirdirectory\"><code>--diagnostic-dir</code></a> command-line option.</p>",
              "type": "module",
              "displayName": "`--redirect-warnings=file`"
            },
            {
              "textRaw": "`--report-compact`",
              "name": "`--report-compact`",
              "meta": {
                "added": [
                  "v13.12.0",
                  "v12.17.0"
                ],
                "changes": []
              },
              "desc": "<p>Write reports in a compact format, single-line JSON, more easily consumable\nby log processing systems than the default multi-line format designed for\nhuman consumption.</p>",
              "type": "module",
              "displayName": "`--report-compact`"
            },
            {
              "textRaw": "`--report-dir=directory`, `report-directory=directory`",
              "name": "`--report-dir=directory`,_`report-directory=directory`",
              "meta": {
                "added": [
                  "v11.8.0"
                ],
                "changes": [
                  {
                    "version": [
                      "v13.12.0",
                      "v12.17.0"
                    ],
                    "pr-url": "https://github.com/nodejs/node/pull/32242",
                    "description": "This option is no longer experimental."
                  },
                  {
                    "version": "v12.0.0",
                    "pr-url": "https://github.com/nodejs/node/pull/27312",
                    "description": "Changed from `--diagnostic-report-directory` to `--report-directory`."
                  }
                ]
              },
              "desc": "<p>Location at which the report will be generated.</p>",
              "type": "module",
              "displayName": "`--report-dir=directory`, `report-directory=directory`"
            },
            {
              "textRaw": "`--report-exclude-env`",
              "name": "`--report-exclude-env`",
              "meta": {
                "added": [
                  "v23.3.0"
                ],
                "changes": []
              },
              "desc": "<p>When <code>--report-exclude-env</code> is passed the diagnostic report generated will not\ncontain the <code>environmentVariables</code> data.</p>",
              "type": "module",
              "displayName": "`--report-exclude-env`"
            },
            {
              "textRaw": "`--report-exclude-network`",
              "name": "`--report-exclude-network`",
              "meta": {
                "added": [
                  "v22.0.0",
                  "v20.13.0"
                ],
                "changes": []
              },
              "desc": "<p>Exclude <code>header.networkInterfaces</code> from the diagnostic report. By default\nthis is not set and the network interfaces are included.</p>",
              "type": "module",
              "displayName": "`--report-exclude-network`"
            },
            {
              "textRaw": "`--report-filename=filename`",
              "name": "`--report-filename=filename`",
              "meta": {
                "added": [
                  "v11.8.0"
                ],
                "changes": [
                  {
                    "version": [
                      "v13.12.0",
                      "v12.17.0"
                    ],
                    "pr-url": "https://github.com/nodejs/node/pull/32242",
                    "description": "This option is no longer experimental."
                  },
                  {
                    "version": "v12.0.0",
                    "pr-url": "https://github.com/nodejs/node/pull/27312",
                    "description": "changed from `--diagnostic-report-filename` to `--report-filename`."
                  }
                ]
              },
              "desc": "<p>Name of the file to which the report will be written.</p>\n<p>If the filename is set to <code>'stdout'</code> or <code>'stderr'</code>, the report is written to\nthe stdout or stderr of the process respectively.</p>",
              "type": "module",
              "displayName": "`--report-filename=filename`"
            },
            {
              "textRaw": "`--report-on-fatalerror`",
              "name": "`--report-on-fatalerror`",
              "meta": {
                "added": [
                  "v11.8.0"
                ],
                "changes": [
                  {
                    "version": [
                      "v14.0.0",
                      "v13.14.0",
                      "v12.17.0"
                    ],
                    "pr-url": "https://github.com/nodejs/node/pull/32496",
                    "description": "This option is no longer experimental."
                  },
                  {
                    "version": "v12.0.0",
                    "pr-url": "https://github.com/nodejs/node/pull/27312",
                    "description": "changed from `--diagnostic-report-on-fatalerror` to `--report-on-fatalerror`."
                  }
                ]
              },
              "desc": "<p>Enables the report to be triggered on fatal errors (internal errors within\nthe Node.js runtime such as out of memory) that lead to termination of the\napplication. Useful to inspect various diagnostic data elements such as heap,\nstack, event loop state, resource consumption etc. to reason about the fatal\nerror.</p>",
              "type": "module",
              "displayName": "`--report-on-fatalerror`"
            },
            {
              "textRaw": "`--report-on-signal`",
              "name": "`--report-on-signal`",
              "meta": {
                "added": [
                  "v11.8.0"
                ],
                "changes": [
                  {
                    "version": [
                      "v13.12.0",
                      "v12.17.0"
                    ],
                    "pr-url": "https://github.com/nodejs/node/pull/32242",
                    "description": "This option is no longer experimental."
                  },
                  {
                    "version": "v12.0.0",
                    "pr-url": "https://github.com/nodejs/node/pull/27312",
                    "description": "changed from `--diagnostic-report-on-signal` to `--report-on-signal`."
                  }
                ]
              },
              "desc": "<p>Enables report to be generated upon receiving the specified (or predefined)\nsignal to the running Node.js process. The signal to trigger the report is\nspecified through <code>--report-signal</code>.</p>",
              "type": "module",
              "displayName": "`--report-on-signal`"
            },
            {
              "textRaw": "`--report-signal=signal`",
              "name": "`--report-signal=signal`",
              "meta": {
                "added": [
                  "v11.8.0"
                ],
                "changes": [
                  {
                    "version": [
                      "v13.12.0",
                      "v12.17.0"
                    ],
                    "pr-url": "https://github.com/nodejs/node/pull/32242",
                    "description": "This option is no longer experimental."
                  },
                  {
                    "version": "v12.0.0",
                    "pr-url": "https://github.com/nodejs/node/pull/27312",
                    "description": "changed from `--diagnostic-report-signal` to `--report-signal`."
                  }
                ]
              },
              "desc": "<p>Sets or resets the signal for report generation (not supported on Windows).\nDefault signal is <code>SIGUSR2</code>.</p>",
              "type": "module",
              "displayName": "`--report-signal=signal`"
            },
            {
              "textRaw": "`--report-uncaught-exception`",
              "name": "`--report-uncaught-exception`",
              "meta": {
                "added": [
                  "v11.8.0"
                ],
                "changes": [
                  {
                    "version": [
                      "v18.8.0",
                      "v16.18.0"
                    ],
                    "pr-url": "https://github.com/nodejs/node/pull/44208",
                    "description": "Report is not generated if the uncaught exception is handled."
                  },
                  {
                    "version": [
                      "v13.12.0",
                      "v12.17.0"
                    ],
                    "pr-url": "https://github.com/nodejs/node/pull/32242",
                    "description": "This option is no longer experimental."
                  },
                  {
                    "version": "v12.0.0",
                    "pr-url": "https://github.com/nodejs/node/pull/27312",
                    "description": "changed from `--diagnostic-report-uncaught-exception` to `--report-uncaught-exception`."
                  }
                ]
              },
              "desc": "<p>Enables report to be generated when the process exits due to an uncaught\nexception. Useful when inspecting the JavaScript stack in conjunction with\nnative stack and other runtime environment data.</p>",
              "type": "module",
              "displayName": "`--report-uncaught-exception`"
            },
            {
              "textRaw": "`-r`, `--require module`",
              "name": "`-r`,_`--require_module`",
              "meta": {
                "added": [
                  "v1.6.0"
                ],
                "changes": []
              },
              "desc": "<p>Preload the specified module at startup.</p>\n<p>Follows <code>require()</code>'s module resolution\nrules. <code>module</code> may be either a path to a file, or a node module name.</p>\n<p>Only CommonJS modules are supported.\nUse <a href=\"#--importmodule\"><code>--import</code></a> to preload an <a href=\"esm.html#modules-ecmascript-modules\">ECMAScript module</a>.\nModules preloaded with <code>--require</code> will run before modules preloaded with <code>--import</code>.</p>\n<p>Modules are preloaded into the main thread as well as any worker threads,\nforked processes, or clustered processes.</p>",
              "type": "module",
              "displayName": "`-r`, `--require module`"
            },
            {
              "textRaw": "`--run`",
              "name": "`--run`",
              "meta": {
                "added": [
                  "v22.0.0"
                ],
                "changes": [
                  {
                    "version": "v22.3.0",
                    "pr-url": "https://github.com/nodejs/node/pull/53032",
                    "description": "NODE_RUN_SCRIPT_NAME environment variable is added."
                  },
                  {
                    "version": "v22.3.0",
                    "pr-url": "https://github.com/nodejs/node/pull/53058",
                    "description": "NODE_RUN_PACKAGE_JSON_PATH environment variable is added."
                  },
                  {
                    "version": "v22.3.0",
                    "pr-url": "https://github.com/nodejs/node/pull/53154",
                    "description": "Traverses up to the root directory and finds a `package.json` file to run the command from, and updates `PATH` environment variable accordingly."
                  }
                ]
              },
              "stability": 2,
              "stabilityText": "Stable",
              "desc": "<p>This runs a specified command from a package.json's <code>\"scripts\"</code> object.\nIf a missing <code>\"command\"</code> is provided, it will list the available scripts.</p>\n<p><code>--run</code> will traverse up to the root directory and finds a <code>package.json</code>\nfile to run the command from.</p>\n<p><code>--run</code> prepends <code>./node_modules/.bin</code> for each ancestor of\nthe current directory, to the <code>PATH</code> in order to execute the binaries from\ndifferent folders where multiple <code>node_modules</code> directories are present, if\n<code>ancestor-folder/node_modules/.bin</code> is a directory.</p>\n<p><code>--run</code> executes the command in the directory containing the related <code>package.json</code>.</p>\n<p>For example, the following command will run the <code>test</code> script of\nthe <code>package.json</code> in the current folder:</p>\n<pre><code class=\"language-console\">$ node --run test\n</code></pre>\n<p>You can also pass arguments to the command. Any argument after <code>--</code> will\nbe appended to the script:</p>\n<pre><code class=\"language-console\">$ node --run test -- --verbose\n</code></pre>",
              "modules": [
                {
                  "textRaw": "Intentional limitations",
                  "name": "intentional_limitations",
                  "desc": "<p><code>node --run</code> is not meant to match the behaviors of <code>npm run</code> or of the <code>run</code>\ncommands of other package managers. The Node.js implementation is intentionally\nmore limited, in order to focus on top performance for the most common use\ncases.\nSome features of other <code>run</code> implementations that are intentionally excluded\nare:</p>\n<ul>\n<li>Running <code>pre</code> or <code>post</code> scripts in addition to the specified script.</li>\n<li>Defining package manager-specific environment variables.</li>\n</ul>",
                  "type": "module",
                  "displayName": "Intentional limitations"
                },
                {
                  "textRaw": "Environment variables",
                  "name": "environment_variables",
                  "desc": "<p>The following environment variables are set when running a script with <code>--run</code>:</p>\n<ul>\n<li><code>NODE_RUN_SCRIPT_NAME</code>: The name of the script being run. For example, if\n<code>--run</code> is used to run <code>test</code>, the value of this variable will be <code>test</code>.</li>\n<li><code>NODE_RUN_PACKAGE_JSON_PATH</code>: The path to the <code>package.json</code> that is being\nprocessed.</li>\n</ul>",
                  "type": "module",
                  "displayName": "Environment variables"
                }
              ],
              "type": "module",
              "displayName": "`--run`"
            },
            {
              "textRaw": "`--secure-heap=n`",
              "name": "`--secure-heap=n`",
              "meta": {
                "added": [
                  "v15.6.0"
                ],
                "changes": []
              },
              "desc": "<p>Initializes an OpenSSL secure heap of <code>n</code> bytes. When initialized, the\nsecure heap is used for selected types of allocations within OpenSSL\nduring key generation and other operations. This is useful, for instance,\nto prevent sensitive information from leaking due to pointer overruns\nor underruns.</p>\n<p>The secure heap is a fixed size and cannot be resized at runtime so,\nif used, it is important to select a large enough heap to cover all\napplication uses.</p>\n<p>The heap size given must be a power of two. Any value less than 2\nwill disable the secure heap.</p>\n<p>The secure heap is disabled by default.</p>\n<p>The secure heap is not available on Windows.</p>\n<p>See <a href=\"https://www.openssl.org/docs/man3.0/man3/CRYPTO_secure_malloc_init.html\"><code>CRYPTO_secure_malloc_init</code></a> for more details.</p>",
              "type": "module",
              "displayName": "`--secure-heap=n`"
            },
            {
              "textRaw": "`--secure-heap-min=n`",
              "name": "`--secure-heap-min=n`",
              "meta": {
                "added": [
                  "v15.6.0"
                ],
                "changes": []
              },
              "desc": "<p>When using <code>--secure-heap</code>, the <code>--secure-heap-min</code> flag specifies the\nminimum allocation from the secure heap. The minimum value is <code>2</code>.\nThe maximum value is the lesser of <code>--secure-heap</code> or <code>2147483647</code>.\nThe value given must be a power of two.</p>",
              "type": "module",
              "displayName": "`--secure-heap-min=n`"
            },
            {
              "textRaw": "`--snapshot-blob=path`",
              "name": "`--snapshot-blob=path`",
              "meta": {
                "added": [
                  "v18.8.0"
                ],
                "changes": []
              },
              "stability": 1,
              "stabilityText": "Experimental",
              "desc": "<p>When used with <code>--build-snapshot</code>, <code>--snapshot-blob</code> specifies the path\nwhere the generated snapshot blob is written to. If not specified, the\ngenerated blob is written to <code>snapshot.blob</code> in the current working directory.</p>\n<p>When used without <code>--build-snapshot</code>, <code>--snapshot-blob</code> specifies the\npath to the blob that is used to restore the application state.</p>\n<p>When loading a snapshot, Node.js checks that:</p>\n<ol>\n<li>The version, architecture, and platform of the running Node.js binary\nare exactly the same as that of the binary that generates the snapshot.</li>\n<li>The V8 flags and CPU features are compatible with that of the binary\nthat generates the snapshot.</li>\n</ol>\n<p>If they don't match, Node.js refuses to load the snapshot and exits with\nstatus code 1.</p>",
              "type": "module",
              "displayName": "`--snapshot-blob=path`"
            },
            {
              "textRaw": "`--test`",
              "name": "`--test`",
              "meta": {
                "added": [
                  "v18.1.0",
                  "v16.17.0"
                ],
                "changes": [
                  {
                    "version": "v20.0.0",
                    "pr-url": "https://github.com/nodejs/node/pull/46983",
                    "description": "The test runner is now stable."
                  },
                  {
                    "version": [
                      "v19.2.0",
                      "v18.13.0"
                    ],
                    "pr-url": "https://github.com/nodejs/node/pull/45214",
                    "description": "Test runner now supports running in watch mode."
                  }
                ]
              },
              "desc": "<p>Starts the Node.js command line test runner. This flag cannot be combined with\n<code>--watch-path</code>, <code>--check</code>, <code>--eval</code>, <code>--interactive</code>, or the inspector.\nSee the documentation on <a href=\"test.html#running-tests-from-the-command-line\">running tests from the command line</a>\nfor more details.</p>",
              "type": "module",
              "displayName": "`--test`"
            },
            {
              "textRaw": "`--test-concurrency`",
              "name": "`--test-concurrency`",
              "meta": {
                "added": [
                  "v21.0.0",
                  "v20.10.0",
                  "v18.19.0"
                ],
                "changes": []
              },
              "desc": "<p>The maximum number of test files that the test runner CLI will execute\nconcurrently. If <code>--experimental-test-isolation</code> is set to <code>'none'</code>, this flag\nis ignored and concurrency is one. Otherwise, concurrency defaults to\n<code>os.availableParallelism() - 1</code>.</p>",
              "type": "module",
              "displayName": "`--test-concurrency`"
            },
            {
              "textRaw": "`--test-coverage-branches=threshold`",
              "name": "`--test-coverage-branches=threshold`",
              "meta": {
                "added": [
                  "v22.8.0"
                ],
                "changes": []
              },
              "stability": 1,
              "stabilityText": "Experimental",
              "desc": "<p>Require a minimum percent of covered branches. If code coverage does not reach\nthe threshold specified, the process will exit with code <code>1</code>.</p>",
              "type": "module",
              "displayName": "`--test-coverage-branches=threshold`"
            },
            {
              "textRaw": "`--test-coverage-exclude`",
              "name": "`--test-coverage-exclude`",
              "meta": {
                "added": [
                  "v22.5.0"
                ],
                "changes": []
              },
              "stability": 1,
              "stabilityText": "Experimental",
              "desc": "<p>Excludes specific files from code coverage using a glob pattern, which can match\nboth absolute and relative file paths.</p>\n<p>This option may be specified multiple times to exclude multiple glob patterns.</p>\n<p>If both <code>--test-coverage-exclude</code> and <code>--test-coverage-include</code> are provided,\nfiles must meet <strong>both</strong> criteria to be included in the coverage report.</p>",
              "type": "module",
              "displayName": "`--test-coverage-exclude`"
            },
            {
              "textRaw": "`--test-coverage-functions=threshold`",
              "name": "`--test-coverage-functions=threshold`",
              "meta": {
                "added": [
                  "v22.8.0"
                ],
                "changes": []
              },
              "stability": 1,
              "stabilityText": "Experimental",
              "desc": "<p>Require a minimum percent of covered functions. If code coverage does not reach\nthe threshold specified, the process will exit with code <code>1</code>.</p>",
              "type": "module",
              "displayName": "`--test-coverage-functions=threshold`"
            },
            {
              "textRaw": "`--test-coverage-include`",
              "name": "`--test-coverage-include`",
              "meta": {
                "added": [
                  "v22.5.0"
                ],
                "changes": []
              },
              "stability": 1,
              "stabilityText": "Experimental",
              "desc": "<p>Includes specific files in code coverage using a glob pattern, which can match\nboth absolute and relative file paths.</p>\n<p>This option may be specified multiple times to include multiple glob patterns.</p>\n<p>If both <code>--test-coverage-exclude</code> and <code>--test-coverage-include</code> are provided,\nfiles must meet <strong>both</strong> criteria to be included in the coverage report.</p>",
              "type": "module",
              "displayName": "`--test-coverage-include`"
            },
            {
              "textRaw": "`--test-coverage-lines=threshold`",
              "name": "`--test-coverage-lines=threshold`",
              "meta": {
                "added": [
                  "v22.8.0"
                ],
                "changes": []
              },
              "stability": 1,
              "stabilityText": "Experimental",
              "desc": "<p>Require a minimum percent of covered lines. If code coverage does not reach\nthe threshold specified, the process will exit with code <code>1</code>.</p>",
              "type": "module",
              "displayName": "`--test-coverage-lines=threshold`"
            },
            {
              "textRaw": "`--test-force-exit`",
              "name": "`--test-force-exit`",
              "meta": {
                "added": [
                  "v22.0.0",
                  "v20.14.0"
                ],
                "changes": []
              },
              "desc": "<p>Configures the test runner to exit the process once all known tests have\nfinished executing even if the event loop would otherwise remain active.</p>",
              "type": "module",
              "displayName": "`--test-force-exit`"
            },
            {
              "textRaw": "`--test-name-pattern`",
              "name": "`--test-name-pattern`",
              "meta": {
                "added": [
                  "v18.11.0"
                ],
                "changes": [
                  {
                    "version": "v20.0.0",
                    "pr-url": "https://github.com/nodejs/node/pull/46983",
                    "description": "The test runner is now stable."
                  }
                ]
              },
              "desc": "<p>A regular expression that configures the test runner to only execute tests\nwhose name matches the provided pattern. See the documentation on\n<a href=\"test.html#filtering-tests-by-name\">filtering tests by name</a> for more details.</p>\n<p>If both <code>--test-name-pattern</code> and <code>--test-skip-pattern</code> are supplied,\ntests must satisfy <strong>both</strong> requirements in order to be executed.</p>",
              "type": "module",
              "displayName": "`--test-name-pattern`"
            },
            {
              "textRaw": "`--test-only`",
              "name": "`--test-only`",
              "meta": {
                "added": [
                  "v18.0.0",
                  "v16.17.0"
                ],
                "changes": [
                  {
                    "version": "v20.0.0",
                    "pr-url": "https://github.com/nodejs/node/pull/46983",
                    "description": "The test runner is now stable."
                  }
                ]
              },
              "desc": "<p>Configures the test runner to only execute top level tests that have the <code>only</code>\noption set. This flag is not necessary when test isolation is disabled.</p>",
              "type": "module",
              "displayName": "`--test-only`"
            },
            {
              "textRaw": "`--test-reporter`",
              "name": "`--test-reporter`",
              "meta": {
                "added": [
                  "v19.6.0",
                  "v18.15.0"
                ],
                "changes": [
                  {
                    "version": "v20.0.0",
                    "pr-url": "https://github.com/nodejs/node/pull/46983",
                    "description": "The test runner is now stable."
                  }
                ]
              },
              "desc": "<p>A test reporter to use when running tests. See the documentation on\n<a href=\"test.html#test-reporters\">test reporters</a> for more details.</p>",
              "type": "module",
              "displayName": "`--test-reporter`"
            },
            {
              "textRaw": "`--test-reporter-destination`",
              "name": "`--test-reporter-destination`",
              "meta": {
                "added": [
                  "v19.6.0",
                  "v18.15.0"
                ],
                "changes": [
                  {
                    "version": "v20.0.0",
                    "pr-url": "https://github.com/nodejs/node/pull/46983",
                    "description": "The test runner is now stable."
                  }
                ]
              },
              "desc": "<p>The destination for the corresponding test reporter. See the documentation on\n<a href=\"test.html#test-reporters\">test reporters</a> for more details.</p>",
              "type": "module",
              "displayName": "`--test-reporter-destination`"
            },
            {
              "textRaw": "`--test-shard`",
              "name": "`--test-shard`",
              "meta": {
                "added": [
                  "v20.5.0",
                  "v18.19.0"
                ],
                "changes": []
              },
              "desc": "<p>Test suite shard to execute in a format of <code>&#x3C;index>/&#x3C;total></code>, where</p>\n<p><code>index</code> is a positive integer, index of divided parts\n<code>total</code> is a positive integer, total of divided part\nThis command will divide all tests files into <code>total</code> equal parts,\nand will run only those that happen to be in an <code>index</code> part.</p>\n<p>For example, to split your tests suite into three parts, use this:</p>\n<pre><code class=\"language-bash\">node --test --test-shard=1/3\nnode --test --test-shard=2/3\nnode --test --test-shard=3/3\n</code></pre>",
              "type": "module",
              "displayName": "`--test-shard`"
            },
            {
              "textRaw": "`--test-skip-pattern`",
              "name": "`--test-skip-pattern`",
              "meta": {
                "added": [
                  "v22.1.0"
                ],
                "changes": []
              },
              "desc": "<p>A regular expression that configures the test runner to skip tests\nwhose name matches the provided pattern. See the documentation on\n<a href=\"test.html#filtering-tests-by-name\">filtering tests by name</a> for more details.</p>\n<p>If both <code>--test-name-pattern</code> and <code>--test-skip-pattern</code> are supplied,\ntests must satisfy <strong>both</strong> requirements in order to be executed.</p>",
              "type": "module",
              "displayName": "`--test-skip-pattern`"
            },
            {
              "textRaw": "`--test-timeout`",
              "name": "`--test-timeout`",
              "meta": {
                "added": [
                  "v21.2.0",
                  "v20.11.0"
                ],
                "changes": []
              },
              "desc": "<p>A number of milliseconds the test execution will fail after. If unspecified,\nsubtests inherit this value from their parent. The default value is <code>Infinity</code>.</p>",
              "type": "module",
              "displayName": "`--test-timeout`"
            },
            {
              "textRaw": "`--test-update-snapshots`",
              "name": "`--test-update-snapshots`",
              "meta": {
                "added": [
                  "v22.3.0"
                ],
                "changes": []
              },
              "stability": 1,
              "stabilityText": ".0 - Early development",
              "desc": "<p>Regenerates the snapshot files used by the test runner for <a href=\"test.html#snapshot-testing\">snapshot testing</a>.\nNode.js must be started with the <code>--experimental-test-snapshots</code> flag in order\nto use this functionality.</p>",
              "type": "module",
              "displayName": "`--test-update-snapshots`"
            },
            {
              "textRaw": "`--throw-deprecation`",
              "name": "`--throw-deprecation`",
              "meta": {
                "added": [
                  "v0.11.14"
                ],
                "changes": []
              },
              "desc": "<p>Throw errors for deprecations.</p>",
              "type": "module",
              "displayName": "`--throw-deprecation`"
            },
            {
              "textRaw": "`--title=title`",
              "name": "`--title=title`",
              "meta": {
                "added": [
                  "v10.7.0"
                ],
                "changes": []
              },
              "desc": "<p>Set <code>process.title</code> on startup.</p>",
              "type": "module",
              "displayName": "`--title=title`"
            },
            {
              "textRaw": "`--tls-cipher-list=list`",
              "name": "`--tls-cipher-list=list`",
              "meta": {
                "added": [
                  "v4.0.0"
                ],
                "changes": []
              },
              "desc": "<p>Specify an alternative default TLS cipher list. Requires Node.js to be built\nwith crypto support (default).</p>",
              "type": "module",
              "displayName": "`--tls-cipher-list=list`"
            },
            {
              "textRaw": "`--tls-keylog=file`",
              "name": "`--tls-keylog=file`",
              "meta": {
                "added": [
                  "v13.2.0",
                  "v12.16.0"
                ],
                "changes": []
              },
              "desc": "<p>Log TLS key material to a file. The key material is in NSS <code>SSLKEYLOGFILE</code>\nformat and can be used by software (such as Wireshark) to decrypt the TLS\ntraffic.</p>",
              "type": "module",
              "displayName": "`--tls-keylog=file`"
            },
            {
              "textRaw": "`--tls-max-v1.2`",
              "name": "`--tls-max-v1.2`",
              "meta": {
                "added": [
                  "v12.0.0",
                  "v10.20.0"
                ],
                "changes": []
              },
              "desc": "<p>Set <a href=\"tls.html#tlsdefault_max_version\"><code>tls.DEFAULT_MAX_VERSION</code></a> to 'TLSv1.2'. Use to disable support for\nTLSv1.3.</p>",
              "type": "module",
              "displayName": "`--tls-max-v1.2`"
            },
            {
              "textRaw": "`--tls-max-v1.3`",
              "name": "`--tls-max-v1.3`",
              "meta": {
                "added": [
                  "v12.0.0"
                ],
                "changes": []
              },
              "desc": "<p>Set default <a href=\"tls.html#tlsdefault_max_version\"><code>tls.DEFAULT_MAX_VERSION</code></a> to 'TLSv1.3'. Use to enable support\nfor TLSv1.3.</p>",
              "type": "module",
              "displayName": "`--tls-max-v1.3`"
            },
            {
              "textRaw": "`--tls-min-v1.0`",
              "name": "`--tls-min-v1.0`",
              "meta": {
                "added": [
                  "v12.0.0",
                  "v10.20.0"
                ],
                "changes": []
              },
              "desc": "<p>Set default <a href=\"tls.html#tlsdefault_min_version\"><code>tls.DEFAULT_MIN_VERSION</code></a> to 'TLSv1'. Use for compatibility with\nold TLS clients or servers.</p>",
              "type": "module",
              "displayName": "`--tls-min-v1.0`"
            },
            {
              "textRaw": "`--tls-min-v1.1`",
              "name": "`--tls-min-v1.1`",
              "meta": {
                "added": [
                  "v12.0.0",
                  "v10.20.0"
                ],
                "changes": []
              },
              "desc": "<p>Set default <a href=\"tls.html#tlsdefault_min_version\"><code>tls.DEFAULT_MIN_VERSION</code></a> to 'TLSv1.1'. Use for compatibility\nwith old TLS clients or servers.</p>",
              "type": "module",
              "displayName": "`--tls-min-v1.1`"
            },
            {
              "textRaw": "`--tls-min-v1.2`",
              "name": "`--tls-min-v1.2`",
              "meta": {
                "added": [
                  "v12.2.0",
                  "v10.20.0"
                ],
                "changes": []
              },
              "desc": "<p>Set default <a href=\"tls.html#tlsdefault_min_version\"><code>tls.DEFAULT_MIN_VERSION</code></a> to 'TLSv1.2'. This is the default for\n12.x and later, but the option is supported for compatibility with older Node.js\nversions.</p>",
              "type": "module",
              "displayName": "`--tls-min-v1.2`"
            },
            {
              "textRaw": "`--tls-min-v1.3`",
              "name": "`--tls-min-v1.3`",
              "meta": {
                "added": [
                  "v12.0.0"
                ],
                "changes": []
              },
              "desc": "<p>Set default <a href=\"tls.html#tlsdefault_min_version\"><code>tls.DEFAULT_MIN_VERSION</code></a> to 'TLSv1.3'. Use to disable support\nfor TLSv1.2, which is not as secure as TLSv1.3.</p>",
              "type": "module",
              "displayName": "`--tls-min-v1.3`"
            },
            {
              "textRaw": "`--trace-deprecation`",
              "name": "`--trace-deprecation`",
              "meta": {
                "added": [
                  "v0.8.0"
                ],
                "changes": []
              },
              "desc": "<p>Print stack traces for deprecations.</p>",
              "type": "module",
              "displayName": "`--trace-deprecation`"
            },
            {
              "textRaw": "`--trace-event-categories`",
              "name": "`--trace-event-categories`",
              "meta": {
                "added": [
                  "v7.7.0"
                ],
                "changes": []
              },
              "desc": "<p>A comma separated list of categories that should be traced when trace event\ntracing is enabled using <code>--trace-events-enabled</code>.</p>",
              "type": "module",
              "displayName": "`--trace-event-categories`"
            },
            {
              "textRaw": "`--trace-event-file-pattern`",
              "name": "`--trace-event-file-pattern`",
              "meta": {
                "added": [
                  "v9.8.0"
                ],
                "changes": []
              },
              "desc": "<p>Template string specifying the filepath for the trace event data, it\nsupports <code>${rotation}</code> and <code>${pid}</code>.</p>",
              "type": "module",
              "displayName": "`--trace-event-file-pattern`"
            },
            {
              "textRaw": "`--trace-events-enabled`",
              "name": "`--trace-events-enabled`",
              "meta": {
                "added": [
                  "v7.7.0"
                ],
                "changes": []
              },
              "desc": "<p>Enables the collection of trace event tracing information.</p>",
              "type": "module",
              "displayName": "`--trace-events-enabled`"
            },
            {
              "textRaw": "`--trace-exit`",
              "name": "`--trace-exit`",
              "meta": {
                "added": [
                  "v13.5.0",
                  "v12.16.0"
                ],
                "changes": []
              },
              "desc": "<p>Prints a stack trace whenever an environment is exited proactively,\ni.e. invoking <code>process.exit()</code>.</p>",
              "type": "module",
              "displayName": "`--trace-exit`"
            },
            {
              "textRaw": "`--trace-sigint`",
              "name": "`--trace-sigint`",
              "meta": {
                "added": [
                  "v13.9.0",
                  "v12.17.0"
                ],
                "changes": []
              },
              "desc": "<p>Prints a stack trace on SIGINT.</p>",
              "type": "module",
              "displayName": "`--trace-sigint`"
            },
            {
              "textRaw": "`--trace-sync-io`",
              "name": "`--trace-sync-io`",
              "meta": {
                "added": [
                  "v2.1.0"
                ],
                "changes": []
              },
              "desc": "<p>Prints a stack trace whenever synchronous I/O is detected after the first turn\nof the event loop.</p>",
              "type": "module",
              "displayName": "`--trace-sync-io`"
            },
            {
              "textRaw": "`--trace-tls`",
              "name": "`--trace-tls`",
              "meta": {
                "added": [
                  "v12.2.0"
                ],
                "changes": []
              },
              "desc": "<p>Prints TLS packet trace information to <code>stderr</code>. This can be used to debug TLS\nconnection problems.</p>",
              "type": "module",
              "displayName": "`--trace-tls`"
            },
            {
              "textRaw": "`--trace-uncaught`",
              "name": "`--trace-uncaught`",
              "meta": {
                "added": [
                  "v13.1.0"
                ],
                "changes": []
              },
              "desc": "<p>Print stack traces for uncaught exceptions; usually, the stack trace associated\nwith the creation of an <code>Error</code> is printed, whereas this makes Node.js also\nprint the stack trace associated with throwing the value (which does not need\nto be an <code>Error</code> instance).</p>\n<p>Enabling this option may affect garbage collection behavior negatively.</p>",
              "type": "module",
              "displayName": "`--trace-uncaught`"
            },
            {
              "textRaw": "`--trace-warnings`",
              "name": "`--trace-warnings`",
              "meta": {
                "added": [
                  "v6.0.0"
                ],
                "changes": []
              },
              "desc": "<p>Print stack traces for process warnings (including deprecations).</p>",
              "type": "module",
              "displayName": "`--trace-warnings`"
            },
            {
              "textRaw": "`--track-heap-objects`",
              "name": "`--track-heap-objects`",
              "meta": {
                "added": [
                  "v2.4.0"
                ],
                "changes": []
              },
              "desc": "<p>Track heap object allocations for heap snapshots.</p>",
              "type": "module",
              "displayName": "`--track-heap-objects`"
            },
            {
              "textRaw": "`--unhandled-rejections=mode`",
              "name": "`--unhandled-rejections=mode`",
              "meta": {
                "added": [
                  "v12.0.0",
                  "v10.17.0"
                ],
                "changes": [
                  {
                    "version": "v15.0.0",
                    "pr-url": "https://github.com/nodejs/node/pull/33021",
                    "description": "Changed default mode to `throw`. Previously, a warning was emitted."
                  }
                ]
              },
              "desc": "<p>Using this flag allows to change what should happen when an unhandled rejection\noccurs. One of the following modes can be chosen:</p>\n<ul>\n<li><code>throw</code>: Emit <a href=\"process.html#event-unhandledrejection\"><code>unhandledRejection</code></a>. If this hook is not set, raise the\nunhandled rejection as an uncaught exception. This is the default.</li>\n<li><code>strict</code>: Raise the unhandled rejection as an uncaught exception. If the\nexception is handled, <a href=\"process.html#event-unhandledrejection\"><code>unhandledRejection</code></a> is emitted.</li>\n<li><code>warn</code>: Always trigger a warning, no matter if the <a href=\"process.html#event-unhandledrejection\"><code>unhandledRejection</code></a>\nhook is set or not but do not print the deprecation warning.</li>\n<li><code>warn-with-error-code</code>: Emit <a href=\"process.html#event-unhandledrejection\"><code>unhandledRejection</code></a>. If this hook is not\nset, trigger a warning, and set the process exit code to 1.</li>\n<li><code>none</code>: Silence all warnings.</li>\n</ul>\n<p>If a rejection happens during the command line entry point's ES module static\nloading phase, it will always raise it as an uncaught exception.</p>",
              "type": "module",
              "displayName": "`--unhandled-rejections=mode`"
            },
            {
              "textRaw": "`--use-bundled-ca`, `--use-openssl-ca`",
              "name": "`--use-bundled-ca`,_`--use-openssl-ca`",
              "meta": {
                "added": [
                  "v6.11.0"
                ],
                "changes": []
              },
              "desc": "<p>Use bundled Mozilla CA store as supplied by current Node.js version\nor use OpenSSL's default CA store. The default store is selectable\nat build-time.</p>\n<p>The bundled CA store, as supplied by Node.js, is a snapshot of Mozilla CA store\nthat is fixed at release time. It is identical on all supported platforms.</p>\n<p>Using OpenSSL store allows for external modifications of the store. For most\nLinux and BSD distributions, this store is maintained by the distribution\nmaintainers and system administrators. OpenSSL CA store location is dependent on\nconfiguration of the OpenSSL library but this can be altered at runtime using\nenvironment variables.</p>\n<p>See <code>SSL_CERT_DIR</code> and <code>SSL_CERT_FILE</code>.</p>",
              "type": "module",
              "displayName": "`--use-bundled-ca`, `--use-openssl-ca`"
            },
            {
              "textRaw": "`--use-largepages=mode`",
              "name": "`--use-largepages=mode`",
              "meta": {
                "added": [
                  "v13.6.0",
                  "v12.17.0"
                ],
                "changes": []
              },
              "desc": "<p>Re-map the Node.js static code to large memory pages at startup. If supported on\nthe target system, this will cause the Node.js static code to be moved onto 2\nMiB pages instead of 4 KiB pages.</p>\n<p>The following values are valid for <code>mode</code>:</p>\n<ul>\n<li><code>off</code>: No mapping will be attempted. This is the default.</li>\n<li><code>on</code>: If supported by the OS, mapping will be attempted. Failure to map will\nbe ignored and a message will be printed to standard error.</li>\n<li><code>silent</code>: If supported by the OS, mapping will be attempted. Failure to map\nwill be ignored and will not be reported.</li>\n</ul>",
              "type": "module",
              "displayName": "`--use-largepages=mode`"
            },
            {
              "textRaw": "`--v8-options`",
              "name": "`--v8-options`",
              "meta": {
                "added": [
                  "v0.1.3"
                ],
                "changes": []
              },
              "desc": "<p>Print V8 command-line options.</p>",
              "type": "module",
              "displayName": "`--v8-options`"
            },
            {
              "textRaw": "`--v8-pool-size=num`",
              "name": "`--v8-pool-size=num`",
              "meta": {
                "added": [
                  "v5.10.0"
                ],
                "changes": []
              },
              "desc": "<p>Set V8's thread pool size which will be used to allocate background jobs.</p>\n<p>If set to <code>0</code> then Node.js will choose an appropriate size of the thread pool\nbased on an estimate of the amount of parallelism.</p>\n<p>The amount of parallelism refers to the number of computations that can be\ncarried out simultaneously in a given machine. In general, it's the same as the\namount of CPUs, but it may diverge in environments such as VMs or containers.</p>",
              "type": "module",
              "displayName": "`--v8-pool-size=num`"
            },
            {
              "textRaw": "`-v`, `--version`",
              "name": "`-v`,_`--version`",
              "meta": {
                "added": [
                  "v0.1.3"
                ],
                "changes": []
              },
              "desc": "<p>Print node's version.</p>",
              "type": "module",
              "displayName": "`-v`, `--version`"
            },
            {
              "textRaw": "`--watch`",
              "name": "`--watch`",
              "meta": {
                "added": [
                  "v18.11.0",
                  "v16.19.0"
                ],
                "changes": [
                  {
                    "version": [
                      "v22.0.0",
                      "v20.13.0"
                    ],
                    "pr-url": "https://github.com/nodejs/node/pull/52074",
                    "description": "Watch mode is now stable."
                  },
                  {
                    "version": [
                      "v19.2.0",
                      "v18.13.0"
                    ],
                    "pr-url": "https://github.com/nodejs/node/pull/45214",
                    "description": "Test runner now supports running in watch mode."
                  }
                ]
              },
              "stability": 2,
              "stabilityText": "Stable",
              "desc": "<p>Starts Node.js in watch mode.\nWhen in watch mode, changes in the watched files cause the Node.js process to\nrestart.\nBy default, watch mode will watch the entry point\nand any required or imported module.\nUse <code>--watch-path</code> to specify what paths to watch.</p>\n<p>This flag cannot be combined with\n<code>--check</code>, <code>--eval</code>, <code>--interactive</code>, or the REPL.</p>\n<pre><code class=\"language-bash\">node --watch index.js\n</code></pre>",
              "type": "module",
              "displayName": "`--watch`"
            },
            {
              "textRaw": "`--watch-path`",
              "name": "`--watch-path`",
              "meta": {
                "added": [
                  "v18.11.0",
                  "v16.19.0"
                ],
                "changes": [
                  {
                    "version": [
                      "v22.0.0",
                      "v20.13.0"
                    ],
                    "pr-url": "https://github.com/nodejs/node/pull/52074",
                    "description": "Watch mode is now stable."
                  }
                ]
              },
              "stability": 2,
              "stabilityText": "Stable",
              "desc": "<p>Starts Node.js in watch mode and specifies what paths to watch.\nWhen in watch mode, changes in the watched paths cause the Node.js process to\nrestart.\nThis will turn off watching of required or imported modules, even when used in\ncombination with <code>--watch</code>.</p>\n<p>This flag cannot be combined with\n<code>--check</code>, <code>--eval</code>, <code>--interactive</code>, <code>--test</code>, or the REPL.</p>\n<pre><code class=\"language-bash\">node --watch-path=./src --watch-path=./tests index.js\n</code></pre>\n<p>This option is only supported on macOS and Windows.\nAn <code>ERR_FEATURE_UNAVAILABLE_ON_PLATFORM</code> exception will be thrown\nwhen the option is used on a platform that does not support it.</p>",
              "type": "module",
              "displayName": "`--watch-path`"
            },
            {
              "textRaw": "`--watch-preserve-output`",
              "name": "`--watch-preserve-output`",
              "meta": {
                "added": [
                  "v19.3.0",
                  "v18.13.0"
                ],
                "changes": []
              },
              "desc": "<p>Disable the clearing of the console when watch mode restarts the process.</p>\n<pre><code class=\"language-bash\">node --watch --watch-preserve-output test.js\n</code></pre>",
              "type": "module",
              "displayName": "`--watch-preserve-output`"
            },
            {
              "textRaw": "`--zero-fill-buffers`",
              "name": "`--zero-fill-buffers`",
              "meta": {
                "added": [
                  "v6.0.0"
                ],
                "changes": []
              },
              "desc": "<p>Automatically zero-fills all newly allocated <a href=\"buffer.html#class-buffer\"><code>Buffer</code></a> and <a href=\"buffer.html#class-slowbuffer\"><code>SlowBuffer</code></a>\ninstances.</p>",
              "type": "module",
              "displayName": "`--zero-fill-buffers`"
            }
          ],
          "type": "misc",
          "displayName": "Options"
        },
        {
          "textRaw": "Environment variables",
          "name": "environment_variables",
          "modules": [
            {
              "textRaw": "`FORCE_COLOR=[1, 2, 3]`",
              "name": "`force_color=[1,_2,_3]`",
              "desc": "<p>The <code>FORCE_COLOR</code> environment variable is used to\nenable ANSI colorized output. The value may be:</p>\n<ul>\n<li><code>1</code>, <code>true</code>, or the empty string <code>''</code> indicate 16-color support,</li>\n<li><code>2</code> to indicate 256-color support, or</li>\n<li><code>3</code> to indicate 16 million-color support.</li>\n</ul>\n<p>When <code>FORCE_COLOR</code> is used and set to a supported value, both the <code>NO_COLOR</code>,\nand <code>NODE_DISABLE_COLORS</code> environment variables are ignored.</p>\n<p>Any other value will result in colorized output being disabled.</p>",
              "type": "module",
              "displayName": "`FORCE_COLOR=[1, 2, 3]`"
            },
            {
              "textRaw": "`NO_COLOR=<any>`",
              "name": "`no_color=<any>`",
              "desc": "<p><a href=\"https://no-color.org\"><code>NO_COLOR</code></a>  is an alias for <code>NODE_DISABLE_COLORS</code>. The value of the\nenvironment variable is arbitrary.</p>",
              "type": "module",
              "displayName": "`NO_COLOR=<any>`"
            },
            {
              "textRaw": "`NODE_COMPILE_CACHE=dir`",
              "name": "`node_compile_cache=dir`",
              "meta": {
                "added": [
                  "v22.1.0"
                ],
                "changes": []
              },
              "stability": 1,
              "stabilityText": ".1 - Active Development",
              "desc": "<p>Enable the <a href=\"module.html#module-compile-cache\">module compile cache</a> for the Node.js instance. See the documentation of\n<a href=\"module.html#module-compile-cache\">module compile cache</a> for details.</p>",
              "type": "module",
              "displayName": "`NODE_COMPILE_CACHE=dir`"
            },
            {
              "textRaw": "`NODE_DEBUG=module[,…]`",
              "name": "`node_debug=module[,…]`",
              "meta": {
                "added": [
                  "v0.1.32"
                ],
                "changes": []
              },
              "desc": "<p><code>','</code>-separated list of core modules that should print debug information.</p>",
              "type": "module",
              "displayName": "`NODE_DEBUG=module[,…]`"
            },
            {
              "textRaw": "`NODE_DEBUG_NATIVE=module[,…]`",
              "name": "`node_debug_native=module[,…]`",
              "desc": "<p><code>','</code>-separated list of core C++ modules that should print debug information.</p>",
              "type": "module",
              "displayName": "`NODE_DEBUG_NATIVE=module[,…]`"
            },
            {
              "textRaw": "`NODE_DISABLE_COLORS=1`",
              "name": "`node_disable_colors=1`",
              "meta": {
                "added": [
                  "v0.3.0"
                ],
                "changes": []
              },
              "desc": "<p>When set, colors will not be used in the REPL.</p>",
              "type": "module",
              "displayName": "`NODE_DISABLE_COLORS=1`"
            },
            {
              "textRaw": "`NODE_DISABLE_COMPILE_CACHE=1`",
              "name": "`node_disable_compile_cache=1`",
              "meta": {
                "added": [
                  "v22.8.0"
                ],
                "changes": []
              },
              "stability": 1,
              "stabilityText": ".1 - Active Development",
              "desc": "<p>Disable the <a href=\"module.html#module-compile-cache\">module compile cache</a> for the Node.js instance. See the documentation of\n<a href=\"module.html#module-compile-cache\">module compile cache</a> for details.</p>",
              "type": "module",
              "displayName": "`NODE_DISABLE_COMPILE_CACHE=1`"
            },
            {
              "textRaw": "`NODE_EXTRA_CA_CERTS=file`",
              "name": "`node_extra_ca_certs=file`",
              "meta": {
                "added": [
                  "v7.3.0"
                ],
                "changes": []
              },
              "desc": "<p>When set, the well known \"root\" CAs (like VeriSign) will be extended with the\nextra certificates in <code>file</code>. The file should consist of one or more trusted\ncertificates in PEM format. A message will be emitted (once) with\n<a href=\"process.html#processemitwarningwarning-options\"><code>process.emitWarning()</code></a> if the file is missing or\nmalformed, but any errors are otherwise ignored.</p>\n<p>Neither the well known nor extra certificates are used when the <code>ca</code>\noptions property is explicitly specified for a TLS or HTTPS client or server.</p>\n<p>This environment variable is ignored when <code>node</code> runs as setuid root or\nhas Linux file capabilities set.</p>\n<p>The <code>NODE_EXTRA_CA_CERTS</code> environment variable is only read when the Node.js\nprocess is first launched. Changing the value at runtime using\n<code>process.env.NODE_EXTRA_CA_CERTS</code> has no effect on the current process.</p>",
              "type": "module",
              "displayName": "`NODE_EXTRA_CA_CERTS=file`"
            },
            {
              "textRaw": "`NODE_ICU_DATA=file`",
              "name": "`node_icu_data=file`",
              "meta": {
                "added": [
                  "v0.11.15"
                ],
                "changes": []
              },
              "desc": "<p>Data path for ICU (<code>Intl</code> object) data. Will extend linked-in data when compiled\nwith small-icu support.</p>",
              "type": "module",
              "displayName": "`NODE_ICU_DATA=file`"
            },
            {
              "textRaw": "`NODE_NO_WARNINGS=1`",
              "name": "`node_no_warnings=1`",
              "meta": {
                "added": [
                  "v6.11.0"
                ],
                "changes": []
              },
              "desc": "<p>When set to <code>1</code>, process warnings are silenced.</p>",
              "type": "module",
              "displayName": "`NODE_NO_WARNINGS=1`"
            },
            {
              "textRaw": "`NODE_OPTIONS=options...`",
              "name": "`node_options=options...`",
              "meta": {
                "added": [
                  "v8.0.0"
                ],
                "changes": []
              },
              "desc": "<p>A space-separated list of command-line options. <code>options...</code> are interpreted\nbefore command-line options, so command-line options will override or\ncompound after anything in <code>options...</code>. Node.js will exit with an error if\nan option that is not allowed in the environment is used, such as <code>-p</code> or a\nscript file.</p>\n<p>If an option value contains a space, it can be escaped using double quotes:</p>\n<pre><code class=\"language-bash\">NODE_OPTIONS='--require \"./my path/file.js\"'\n</code></pre>\n<p>A singleton flag passed as a command-line option will override the same flag\npassed into <code>NODE_OPTIONS</code>:</p>\n<pre><code class=\"language-bash\"># The inspector will be available on port 5555\nNODE_OPTIONS='--inspect=localhost:4444' node --inspect=localhost:5555\n</code></pre>\n<p>A flag that can be passed multiple times will be treated as if its\n<code>NODE_OPTIONS</code> instances were passed first, and then its command-line\ninstances afterwards:</p>\n<pre><code class=\"language-bash\">NODE_OPTIONS='--require \"./a.js\"' node --require \"./b.js\"\n# is equivalent to:\nnode --require \"./a.js\" --require \"./b.js\"\n</code></pre>\n<p>Node.js options that are allowed are in the following list. If an option\nsupports both --XX and --no-XX variants, they are both supported but only\none is included in the list below.</p>\n<!-- node-options-node start -->\n<ul>\n<li><code>--allow-addons</code></li>\n<li><code>--allow-child-process</code></li>\n<li><code>--allow-fs-read</code></li>\n<li><code>--allow-fs-write</code></li>\n<li><code>--allow-wasi</code></li>\n<li><code>--allow-worker</code></li>\n<li><code>--conditions</code>, <code>-C</code></li>\n<li><code>--diagnostic-dir</code></li>\n<li><code>--disable-proto</code></li>\n<li><code>--disable-warning</code></li>\n<li><code>--disable-wasm-trap-handler</code></li>\n<li><code>--dns-result-order</code></li>\n<li><code>--enable-fips</code></li>\n<li><code>--enable-network-family-autoselection</code></li>\n<li><code>--enable-source-maps</code></li>\n<li><code>--entry-url</code></li>\n<li><code>--experimental-abortcontroller</code></li>\n<li><code>--experimental-async-context-frame</code></li>\n<li><code>--experimental-default-type</code></li>\n<li><code>--experimental-detect-module</code></li>\n<li><code>--experimental-eventsource</code></li>\n<li><code>--experimental-import-meta-resolve</code></li>\n<li><code>--experimental-json-modules</code></li>\n<li><code>--experimental-loader</code></li>\n<li><code>--experimental-modules</code></li>\n<li><code>--experimental-permission</code></li>\n<li><code>--experimental-print-required-tla</code></li>\n<li><code>--experimental-require-module</code></li>\n<li><code>--experimental-shadow-realm</code></li>\n<li><code>--experimental-specifier-resolution</code></li>\n<li><code>--experimental-sqlite</code></li>\n<li><code>--experimental-strip-types</code></li>\n<li><code>--experimental-top-level-await</code></li>\n<li><code>--experimental-transform-types</code></li>\n<li><code>--experimental-vm-modules</code></li>\n<li><code>--experimental-wasi-unstable-preview1</code></li>\n<li><code>--experimental-wasm-modules</code></li>\n<li><code>--experimental-webstorage</code></li>\n<li><code>--force-context-aware</code></li>\n<li><code>--force-fips</code></li>\n<li><code>--force-node-api-uncaught-exceptions-policy</code></li>\n<li><code>--frozen-intrinsics</code></li>\n<li><code>--heap-prof-dir</code></li>\n<li><code>--heap-prof-interval</code></li>\n<li><code>--heap-prof-name</code></li>\n<li><code>--heap-prof</code></li>\n<li><code>--heapsnapshot-near-heap-limit</code></li>\n<li><code>--heapsnapshot-signal</code></li>\n<li><code>--http-parser</code></li>\n<li><code>--icu-data-dir</code></li>\n<li><code>--import</code></li>\n<li><code>--input-type</code></li>\n<li><code>--insecure-http-parser</code></li>\n<li><code>--inspect-brk</code></li>\n<li><code>--inspect-port</code>, <code>--debug-port</code></li>\n<li><code>--inspect-publish-uid</code></li>\n<li><code>--inspect-wait</code></li>\n<li><code>--inspect</code></li>\n<li><code>--localstorage-file</code></li>\n<li><code>--max-http-header-size</code></li>\n<li><code>--napi-modules</code></li>\n<li><code>--network-family-autoselection-attempt-timeout</code></li>\n<li><code>--no-addons</code></li>\n<li><code>--no-deprecation</code></li>\n<li><code>--no-experimental-global-navigator</code></li>\n<li><code>--no-experimental-repl-await</code></li>\n<li><code>--no-experimental-websocket</code></li>\n<li><code>--no-extra-info-on-fatal-exception</code></li>\n<li><code>--no-force-async-hooks-checks</code></li>\n<li><code>--no-global-search-paths</code></li>\n<li><code>--no-network-family-autoselection</code></li>\n<li><code>--no-warnings</code></li>\n<li><code>--node-memory-debug</code></li>\n<li><code>--openssl-config</code></li>\n<li><code>--openssl-legacy-provider</code></li>\n<li><code>--openssl-shared-config</code></li>\n<li><code>--pending-deprecation</code></li>\n<li><code>--preserve-symlinks-main</code></li>\n<li><code>--preserve-symlinks</code></li>\n<li><code>--prof-process</code></li>\n<li><code>--redirect-warnings</code></li>\n<li><code>--report-compact</code></li>\n<li><code>--report-dir</code>, <code>--report-directory</code></li>\n<li><code>--report-exclude-env</code></li>\n<li><code>--report-exclude-network</code></li>\n<li><code>--report-filename</code></li>\n<li><code>--report-on-fatalerror</code></li>\n<li><code>--report-on-signal</code></li>\n<li><code>--report-signal</code></li>\n<li><code>--report-uncaught-exception</code></li>\n<li><code>--require</code>, <code>-r</code></li>\n<li><code>--secure-heap-min</code></li>\n<li><code>--secure-heap</code></li>\n<li><code>--snapshot-blob</code></li>\n<li><code>--test-coverage-branches</code></li>\n<li><code>--test-coverage-exclude</code></li>\n<li><code>--test-coverage-functions</code></li>\n<li><code>--test-coverage-include</code></li>\n<li><code>--test-coverage-lines</code></li>\n<li><code>--test-name-pattern</code></li>\n<li><code>--test-only</code></li>\n<li><code>--test-reporter-destination</code></li>\n<li><code>--test-reporter</code></li>\n<li><code>--test-shard</code></li>\n<li><code>--test-skip-pattern</code></li>\n<li><code>--throw-deprecation</code></li>\n<li><code>--title</code></li>\n<li><code>--tls-cipher-list</code></li>\n<li><code>--tls-keylog</code></li>\n<li><code>--tls-max-v1.2</code></li>\n<li><code>--tls-max-v1.3</code></li>\n<li><code>--tls-min-v1.0</code></li>\n<li><code>--tls-min-v1.1</code></li>\n<li><code>--tls-min-v1.2</code></li>\n<li><code>--tls-min-v1.3</code></li>\n<li><code>--trace-deprecation</code></li>\n<li><code>--trace-event-categories</code></li>\n<li><code>--trace-event-file-pattern</code></li>\n<li><code>--trace-events-enabled</code></li>\n<li><code>--trace-exit</code></li>\n<li><code>--trace-sigint</code></li>\n<li><code>--trace-sync-io</code></li>\n<li><code>--trace-tls</code></li>\n<li><code>--trace-uncaught</code></li>\n<li><code>--trace-warnings</code></li>\n<li><code>--track-heap-objects</code></li>\n<li><code>--unhandled-rejections</code></li>\n<li><code>--use-bundled-ca</code></li>\n<li><code>--use-largepages</code></li>\n<li><code>--use-openssl-ca</code></li>\n<li><code>--v8-pool-size</code></li>\n<li><code>--watch-path</code></li>\n<li><code>--watch-preserve-output</code></li>\n<li><code>--watch</code></li>\n<li><code>--zero-fill-buffers</code></li>\n</ul>\n<!-- node-options-node end -->\n<p>V8 options that are allowed are:</p>\n<!-- node-options-v8 start -->\n<ul>\n<li><code>--abort-on-uncaught-exception</code></li>\n<li><code>--disallow-code-generation-from-strings</code></li>\n<li><code>--enable-etw-stack-walking</code></li>\n<li><code>--expose-gc</code></li>\n<li><code>--interpreted-frames-native-stack</code></li>\n<li><code>--jitless</code></li>\n<li><code>--max-old-space-size</code></li>\n<li><code>--max-semi-space-size</code></li>\n<li><code>--perf-basic-prof-only-functions</code></li>\n<li><code>--perf-basic-prof</code></li>\n<li><code>--perf-prof-unwinding-info</code></li>\n<li><code>--perf-prof</code></li>\n<li><code>--stack-trace-limit</code></li>\n</ul>\n<!-- node-options-v8 end -->\n<!-- node-options-others start -->\n<p><code>--perf-basic-prof-only-functions</code>, <code>--perf-basic-prof</code>,\n<code>--perf-prof-unwinding-info</code>, and <code>--perf-prof</code> are only available on Linux.</p>\n<p><code>--enable-etw-stack-walking</code> is only available on Windows.</p>\n<!-- node-options-others end -->",
              "type": "module",
              "displayName": "`NODE_OPTIONS=options...`"
            },
            {
              "textRaw": "`NODE_PATH=path[:…]`",
              "name": "`node_path=path[:…]`",
              "meta": {
                "added": [
                  "v0.1.32"
                ],
                "changes": []
              },
              "desc": "<p><code>':'</code>-separated list of directories prefixed to the module search path.</p>\n<p>On Windows, this is a <code>';'</code>-separated list instead.</p>",
              "type": "module",
              "displayName": "`NODE_PATH=path[:…]`"
            },
            {
              "textRaw": "`NODE_PENDING_DEPRECATION=1`",
              "name": "`node_pending_deprecation=1`",
              "meta": {
                "added": [
                  "v8.0.0"
                ],
                "changes": []
              },
              "desc": "<p>When set to <code>1</code>, emit pending deprecation warnings.</p>\n<p>Pending deprecations are generally identical to a runtime deprecation with the\nnotable exception that they are turned <em>off</em> by default and will not be emitted\nunless either the <code>--pending-deprecation</code> command-line flag, or the\n<code>NODE_PENDING_DEPRECATION=1</code> environment variable, is set. Pending deprecations\nare used to provide a kind of selective \"early warning\" mechanism that\ndevelopers may leverage to detect deprecated API usage.</p>",
              "type": "module",
              "displayName": "`NODE_PENDING_DEPRECATION=1`"
            },
            {
              "textRaw": "`NODE_PENDING_PIPE_INSTANCES=instances`",
              "name": "`node_pending_pipe_instances=instances`",
              "desc": "<p>Set the number of pending pipe instance handles when the pipe server is waiting\nfor connections. This setting applies to Windows only.</p>",
              "type": "module",
              "displayName": "`NODE_PENDING_PIPE_INSTANCES=instances`"
            },
            {
              "textRaw": "`NODE_PRESERVE_SYMLINKS=1`",
              "name": "`node_preserve_symlinks=1`",
              "meta": {
                "added": [
                  "v7.1.0"
                ],
                "changes": []
              },
              "desc": "<p>When set to <code>1</code>, instructs the module loader to preserve symbolic links when\nresolving and caching modules.</p>",
              "type": "module",
              "displayName": "`NODE_PRESERVE_SYMLINKS=1`"
            },
            {
              "textRaw": "`NODE_REDIRECT_WARNINGS=file`",
              "name": "`node_redirect_warnings=file`",
              "meta": {
                "added": [
                  "v8.0.0"
                ],
                "changes": []
              },
              "desc": "<p>When set, process warnings will be emitted to the given file instead of\nprinting to stderr. The file will be created if it does not exist, and will be\nappended to if it does. If an error occurs while attempting to write the\nwarning to the file, the warning will be written to stderr instead. This is\nequivalent to using the <code>--redirect-warnings=file</code> command-line flag.</p>",
              "type": "module",
              "displayName": "`NODE_REDIRECT_WARNINGS=file`"
            },
            {
              "textRaw": "`NODE_REPL_EXTERNAL_MODULE=file`",
              "name": "`node_repl_external_module=file`",
              "meta": {
                "added": [
                  "v13.0.0",
                  "v12.16.0"
                ],
                "changes": [
                  {
                    "version": [
                      "v22.3.0",
                      "v20.16.0"
                    ],
                    "pr-url": "https://github.com/nodejs/node/pull/52905",
                    "description": "Remove the possibility to use this env var with kDisableNodeOptionsEnv for embedders."
                  }
                ]
              },
              "desc": "<p>Path to a Node.js module which will be loaded in place of the built-in REPL.\nOverriding this value to an empty string (<code>''</code>) will use the built-in REPL.</p>",
              "type": "module",
              "displayName": "`NODE_REPL_EXTERNAL_MODULE=file`"
            },
            {
              "textRaw": "`NODE_REPL_HISTORY=file`",
              "name": "`node_repl_history=file`",
              "meta": {
                "added": [
                  "v3.0.0"
                ],
                "changes": []
              },
              "desc": "<p>Path to the file used to store the persistent REPL history. The default path is\n<code>~/.node_repl_history</code>, which is overridden by this variable. Setting the value\nto an empty string (<code>''</code> or <code>' '</code>) disables persistent REPL history.</p>",
              "type": "module",
              "displayName": "`NODE_REPL_HISTORY=file`"
            },
            {
              "textRaw": "`NODE_SKIP_PLATFORM_CHECK=value`",
              "name": "`node_skip_platform_check=value`",
              "meta": {
                "added": [
                  "v14.5.0"
                ],
                "changes": []
              },
              "desc": "<p>If <code>value</code> equals <code>'1'</code>, the check for a supported platform is skipped during\nNode.js startup. Node.js might not execute correctly. Any issues encountered\non unsupported platforms will not be fixed.</p>",
              "type": "module",
              "displayName": "`NODE_SKIP_PLATFORM_CHECK=value`"
            },
            {
              "textRaw": "`NODE_TEST_CONTEXT=value`",
              "name": "`node_test_context=value`",
              "desc": "<p>If <code>value</code> equals <code>'child'</code>, test reporter options will be overridden and test\noutput will be sent to stdout in the TAP format. If any other value is provided,\nNode.js makes no guarantees about the reporter format used or its stability.</p>",
              "type": "module",
              "displayName": "`NODE_TEST_CONTEXT=value`"
            },
            {
              "textRaw": "`NODE_TLS_REJECT_UNAUTHORIZED=value`",
              "name": "`node_tls_reject_unauthorized=value`",
              "desc": "<p>If <code>value</code> equals <code>'0'</code>, certificate validation is disabled for TLS connections.\nThis makes TLS, and HTTPS by extension, insecure. The use of this environment\nvariable is strongly discouraged.</p>",
              "type": "module",
              "displayName": "`NODE_TLS_REJECT_UNAUTHORIZED=value`"
            },
            {
              "textRaw": "`NODE_V8_COVERAGE=dir`",
              "name": "`node_v8_coverage=dir`",
              "desc": "<p>When set, Node.js will begin outputting <a href=\"https://v8project.blogspot.com/2017/12/javascript-code-coverage.html\">V8 JavaScript code coverage</a> and\n<a href=\"https://sourcemaps.info/spec.html\">Source Map</a> data to the directory provided as an argument (coverage\ninformation is written as JSON to files with a <code>coverage</code> prefix).</p>\n<p><code>NODE_V8_COVERAGE</code> will automatically propagate to subprocesses, making it\neasier to instrument applications that call the <code>child_process.spawn()</code> family\nof functions. <code>NODE_V8_COVERAGE</code> can be set to an empty string, to prevent\npropagation.</p>",
              "modules": [
                {
                  "textRaw": "Coverage output",
                  "name": "coverage_output",
                  "desc": "<p>Coverage is output as an array of <a href=\"https://chromedevtools.github.io/devtools-protocol/tot/Profiler#type-ScriptCoverage\">ScriptCoverage</a> objects on the top-level\nkey <code>result</code>:</p>\n<pre><code class=\"language-json\">{\n  \"result\": [\n    {\n      \"scriptId\": \"67\",\n      \"url\": \"internal/tty.js\",\n      \"functions\": []\n    }\n  ]\n}\n</code></pre>",
                  "type": "module",
                  "displayName": "Coverage output"
                },
                {
                  "textRaw": "Source map cache",
                  "name": "source_map_cache",
                  "stability": 1,
                  "stabilityText": "Experimental",
                  "desc": "<p>If found, source map data is appended to the top-level key <code>source-map-cache</code>\non the JSON coverage object.</p>\n<p><code>source-map-cache</code> is an object with keys representing the files source maps\nwere extracted from, and values which include the raw source-map URL\n(in the key <code>url</code>), the parsed Source Map v3 information (in the key <code>data</code>),\nand the line lengths of the source file (in the key <code>lineLengths</code>).</p>\n<pre><code class=\"language-json\">{\n  \"result\": [\n    {\n      \"scriptId\": \"68\",\n      \"url\": \"file:///absolute/path/to/source.js\",\n      \"functions\": []\n    }\n  ],\n  \"source-map-cache\": {\n    \"file:///absolute/path/to/source.js\": {\n      \"url\": \"./path-to-map.json\",\n      \"data\": {\n        \"version\": 3,\n        \"sources\": [\n          \"file:///absolute/path/to/original.js\"\n        ],\n        \"names\": [\n          \"Foo\",\n          \"console\",\n          \"info\"\n        ],\n        \"mappings\": \"MAAMA,IACJC,YAAaC\",\n        \"sourceRoot\": \"./\"\n      },\n      \"lineLengths\": [\n        13,\n        62,\n        38,\n        27\n      ]\n    }\n  }\n}\n</code></pre>",
                  "type": "module",
                  "displayName": "Source map cache"
                }
              ],
              "type": "module",
              "displayName": "`NODE_V8_COVERAGE=dir`"
            },
            {
              "textRaw": "`OPENSSL_CONF=file`",
              "name": "`openssl_conf=file`",
              "meta": {
                "added": [
                  "v6.11.0"
                ],
                "changes": []
              },
              "desc": "<p>Load an OpenSSL configuration file on startup. Among other uses, this can be\nused to enable FIPS-compliant crypto if Node.js is built with\n<code>./configure --openssl-fips</code>.</p>\n<p>If the <a href=\"#--openssl-configfile\"><code>--openssl-config</code></a> command-line option is used, the environment\nvariable is ignored.</p>",
              "type": "module",
              "displayName": "`OPENSSL_CONF=file`"
            },
            {
              "textRaw": "`SSL_CERT_DIR=dir`",
              "name": "`ssl_cert_dir=dir`",
              "meta": {
                "added": [
                  "v7.7.0"
                ],
                "changes": []
              },
              "desc": "<p>If <code>--use-openssl-ca</code> is enabled, this overrides and sets OpenSSL's directory\ncontaining trusted certificates.</p>\n<p>Be aware that unless the child environment is explicitly set, this environment\nvariable will be inherited by any child processes, and if they use OpenSSL, it\nmay cause them to trust the same CAs as node.</p>",
              "type": "module",
              "displayName": "`SSL_CERT_DIR=dir`"
            },
            {
              "textRaw": "`SSL_CERT_FILE=file`",
              "name": "`ssl_cert_file=file`",
              "meta": {
                "added": [
                  "v7.7.0"
                ],
                "changes": []
              },
              "desc": "<p>If <code>--use-openssl-ca</code> is enabled, this overrides and sets OpenSSL's file\ncontaining trusted certificates.</p>\n<p>Be aware that unless the child environment is explicitly set, this environment\nvariable will be inherited by any child processes, and if they use OpenSSL, it\nmay cause them to trust the same CAs as node.</p>",
              "type": "module",
              "displayName": "`SSL_CERT_FILE=file`"
            },
            {
              "textRaw": "`TZ`",
              "name": "`tz`",
              "meta": {
                "added": [
                  "v0.0.1"
                ],
                "changes": [
                  {
                    "version": [
                      "v16.2.0"
                    ],
                    "pr-url": "https://github.com/nodejs/node/pull/38642",
                    "description": "Changing the TZ variable using process.env.TZ = changes the timezone on Windows as well."
                  },
                  {
                    "version": [
                      "v13.0.0"
                    ],
                    "pr-url": "https://github.com/nodejs/node/pull/20026",
                    "description": "Changing the TZ variable using process.env.TZ = changes the timezone on POSIX systems."
                  }
                ]
              },
              "desc": "<p>The <code>TZ</code> environment variable is used to specify the timezone configuration.</p>\n<p>While Node.js does not support all of the various <a href=\"https://www.gnu.org/software/libc/manual/html_node/TZ-Variable.html\">ways that <code>TZ</code> is handled in\nother environments</a>, it does support basic <a href=\"https://en.wikipedia.org/wiki/List_of_tz_database_time_zones\">timezone IDs</a> (such as\n<code>'Etc/UTC'</code>, <code>'Europe/Paris'</code>, or <code>'America/New_York'</code>).\nIt may support a few other abbreviations or aliases, but these are strongly\ndiscouraged and not guaranteed.</p>\n<pre><code class=\"language-console\">$ TZ=Europe/Dublin node -pe \"new Date().toString()\"\nWed May 12 2021 20:30:48 GMT+0100 (Irish Standard Time)\n</code></pre>",
              "type": "module",
              "displayName": "`TZ`"
            },
            {
              "textRaw": "`UV_THREADPOOL_SIZE=size`",
              "name": "`uv_threadpool_size=size`",
              "desc": "<p>Set the number of threads used in libuv's threadpool to <code>size</code> threads.</p>\n<p>Asynchronous system APIs are used by Node.js whenever possible, but where they\ndo not exist, libuv's threadpool is used to create asynchronous node APIs based\non synchronous system APIs. Node.js APIs that use the threadpool are:</p>\n<ul>\n<li>all <code>fs</code> APIs, other than the file watcher APIs and those that are explicitly\nsynchronous</li>\n<li>asynchronous crypto APIs such as <code>crypto.pbkdf2()</code>, <code>crypto.scrypt()</code>,\n<code>crypto.randomBytes()</code>, <code>crypto.randomFill()</code>, <code>crypto.generateKeyPair()</code></li>\n<li><code>dns.lookup()</code></li>\n<li>all <code>zlib</code> APIs, other than those that are explicitly synchronous</li>\n</ul>\n<p>Because libuv's threadpool has a fixed size, it means that if for whatever\nreason any of these APIs takes a long time, other (seemingly unrelated) APIs\nthat run in libuv's threadpool will experience degraded performance. In order to\nmitigate this issue, one potential solution is to increase the size of libuv's\nthreadpool by setting the <code>'UV_THREADPOOL_SIZE'</code> environment variable to a value\ngreater than <code>4</code> (its current default value). However, setting this from inside\nthe process using <code>process.env.UV_THREADPOOL_SIZE=size</code> is not guranteed to work\nas the threadpool would have been created as part of the runtime initialisation\nmuch before user code is run. For more information, see the <a href=\"https://docs.libuv.org/en/latest/threadpool.html\">libuv threadpool documentation</a>.</p>",
              "type": "module",
              "displayName": "`UV_THREADPOOL_SIZE=size`"
            }
          ],
          "type": "misc",
          "displayName": "Environment variables"
        },
        {
          "textRaw": "Useful V8 options",
          "name": "useful_v8_options",
          "desc": "<p>V8 has its own set of CLI options. Any V8 CLI option that is provided to <code>node</code>\nwill be passed on to V8 to handle. V8's options have <em>no stability guarantee</em>.\nThe V8 team themselves don't consider them to be part of their formal API,\nand reserve the right to change them at any time. Likewise, they are not\ncovered by the Node.js stability guarantees. Many of the V8\noptions are of interest only to V8 developers. Despite this, there is a small\nset of V8 options that are widely applicable to Node.js, and they are\ndocumented here:</p>\n<!-- v8-options start -->",
          "modules": [
            {
              "textRaw": "`--abort-on-uncaught-exception`",
              "name": "`--abort-on-uncaught-exception`",
              "type": "module",
              "displayName": "`--abort-on-uncaught-exception`"
            },
            {
              "textRaw": "`--disallow-code-generation-from-strings`",
              "name": "`--disallow-code-generation-from-strings`",
              "type": "module",
              "displayName": "`--disallow-code-generation-from-strings`"
            },
            {
              "textRaw": "`--enable-etw-stack-walking`",
              "name": "`--enable-etw-stack-walking`",
              "type": "module",
              "displayName": "`--enable-etw-stack-walking`"
            },
            {
              "textRaw": "`--expose-gc`",
              "name": "`--expose-gc`",
              "type": "module",
              "displayName": "`--expose-gc`"
            },
            {
              "textRaw": "`--harmony-shadow-realm`",
              "name": "`--harmony-shadow-realm`",
              "type": "module",
              "displayName": "`--harmony-shadow-realm`"
            },
            {
              "textRaw": "`--jitless`",
              "name": "`--jitless`",
              "type": "module",
              "displayName": "`--jitless`"
            },
            {
              "textRaw": "`--interpreted-frames-native-stack`",
              "name": "`--interpreted-frames-native-stack`",
              "type": "module",
              "displayName": "`--interpreted-frames-native-stack`"
            },
            {
              "textRaw": "`--prof`",
              "name": "`--prof`",
              "type": "module",
              "displayName": "`--prof`"
            },
            {
              "textRaw": "`--perf-basic-prof`",
              "name": "`--perf-basic-prof`",
              "type": "module",
              "displayName": "`--perf-basic-prof`"
            },
            {
              "textRaw": "`--perf-basic-prof-only-functions`",
              "name": "`--perf-basic-prof-only-functions`",
              "type": "module",
              "displayName": "`--perf-basic-prof-only-functions`"
            },
            {
              "textRaw": "`--perf-prof`",
              "name": "`--perf-prof`",
              "desc": "<!-- Anchor to make sure old links find a target -->\n<p><a id=\"--max-old-space-sizesize-in-megabytes\"></a></p>",
              "type": "module",
              "displayName": "`--perf-prof`"
            },
            {
              "textRaw": "`--perf-prof-unwinding-info`",
              "name": "`--perf-prof-unwinding-info`",
              "desc": "<!-- Anchor to make sure old links find a target -->\n<p><a id=\"--max-old-space-sizesize-in-megabytes\"></a></p>",
              "type": "module",
              "displayName": "`--perf-prof-unwinding-info`"
            },
            {
              "textRaw": "`--max-old-space-size=SIZE` (in MiB)",
              "name": "`--max-old-space-size=size`_(in_mib)",
              "desc": "<p>Sets the max memory size of V8's old memory section. As memory\nconsumption approaches the limit, V8 will spend more time on\ngarbage collection in an effort to free unused memory.</p>\n<p>On a machine with 2 GiB of memory, consider setting this to\n1536 (1.5 GiB) to leave some memory for other uses and avoid swapping.</p>\n<pre><code class=\"language-bash\">node --max-old-space-size=1536 index.js\n</code></pre>\n<!-- Anchor to make sure old links find a target -->\n<p><a id=\"--max-semi-space-sizesize-in-megabytes\"></a></p>",
              "type": "module",
              "displayName": "`--max-old-space-size=SIZE` (in MiB)"
            },
            {
              "textRaw": "`--max-semi-space-size=SIZE` (in MiB)",
              "name": "`--max-semi-space-size=size`_(in_mib)",
              "desc": "<p>Sets the maximum <a href=\"https://www.memorymanagement.org/glossary/s.html#semi.space\">semi-space</a> size for V8's <a href=\"https://v8.dev/blog/orinoco-parallel-scavenger\">scavenge garbage collector</a> in\nMiB (mebibytes).\nIncreasing the max size of a semi-space may improve throughput for Node.js at\nthe cost of more memory consumption.</p>\n<p>Since the young generation size of the V8 heap is three times (see\n<a href=\"https://chromium.googlesource.com/v8/v8.git/+/refs/tags/10.3.129/src/heap/heap.cc#328\"><code>YoungGenerationSizeFromSemiSpaceSize</code></a> in V8) the size of the semi-space,\nan increase of 1 MiB to semi-space applies to each of the three individual\nsemi-spaces and causes the heap size to increase by 3 MiB. The throughput\nimprovement depends on your workload (see <a href=\"https://github.com/nodejs/node/issues/42511\">#42511</a>).</p>\n<p>The default value depends on the memory limit. For example, on 64-bit systems\nwith a memory limit of 512 MiB, the max size of a semi-space defaults to 1 MiB.\nFor memory limits up to and including 2GiB, the default max size of a\nsemi-space will be less than 16 MiB on 64-bit systems.</p>\n<p>To get the best configuration for your application, you should try different\nmax-semi-space-size values when running benchmarks for your application.</p>\n<p>For example, benchmark on a 64-bit systems:</p>\n<pre><code class=\"language-bash\">for MiB in 16 32 64 128; do\n    node --max-semi-space-size=$MiB index.js\ndone\n</code></pre>",
              "type": "module",
              "displayName": "`--max-semi-space-size=SIZE` (in MiB)"
            },
            {
              "textRaw": "`--security-revert`",
              "name": "`--security-revert`",
              "desc": "<p>The maximum number of stack frames to collect in an error's stack trace.\nSetting it to 0 disables stack trace collection. The default value is 10.</p>\n<pre><code class=\"language-bash\">node --stack-trace-limit=12 -p -e \"Error.stackTraceLimit\" # prints 12\n</code></pre>\n<!-- v8-options end -->",
              "type": "module",
              "displayName": "`--security-revert`"
            },
            {
              "textRaw": "`--stack-trace-limit=limit`",
              "name": "`--stack-trace-limit=limit`",
              "desc": "<p>The maximum number of stack frames to collect in an error's stack trace.\nSetting it to 0 disables stack trace collection. The default value is 10.</p>\n<pre><code class=\"language-bash\">node --stack-trace-limit=12 -p -e \"Error.stackTraceLimit\" # prints 12\n</code></pre>\n<!-- v8-options end -->",
              "type": "module",
              "displayName": "`--stack-trace-limit=limit`"
            }
          ],
          "type": "misc",
          "displayName": "Useful V8 options"
        }
      ]
    }
  ]
}