{
  "name": "fnm",
  "description": "Fast Node Manager",
  "options": [
    {
      "names": [
        "--help",
        "-h"
      ],
      "description": "Prints help information"
    },
    {
      "names": [
        "--version",
        "-V"
      ],
      "description": "Prints version information"
    },
    {
      "names": [
        "--arch"
      ],
      "description": "Override the architecture of the installed Node binary. Defaults to arch of fnm binary",
      "args": [
        {
          "name": "arch",
          "suggestions": [
            "x86",
            "x64",
            "arm64",
            "armv7l",
            "ppc64le",
            "ppc64",
            "s390x"
          ]
        }
      ]
    },
    {
      "names": [
        "--fnm-dir"
      ],
      "description": "The root directory of fnm installations",
      "args": [
        {
          "name": "dir",
          "template": "folders"
        }
      ]
    },
    {
      "names": [
        "--log-level"
      ],
      "description": "The log level of fnm commands",
      "args": [
        {
          "name": "logLevel",
          "suggestions": [
            "quiet",
            "info",
            "error"
          ]
        }
      ]
    },
    {
      "names": [
        "--node-dist-mirror"
      ],
      "description": "Mirror of https://nodejs.org/dist",
      "args": [
        {
          "name": "nodeDistMirror"
        }
      ]
    },
    {
      "names": [
        "--version-file-strategy"
      ],
      "description": "Strategy for how to resolve the Node version",
      "args": [
        {
          "name": "strategy",
          "suggestions": [
            "local",
            "recursive"
          ]
        }
      ]
    }
  ],
  "subcommands": [
    {
      "name": "install",
      "description": "Install a new Node.js version",
      "options": [
        {
          "names": [
            "--lts"
          ],
          "description": "Install latest LTS"
        },
        {
          "names": [
            "--help",
            "-h"
          ],
          "description": "Prints help information"
        },
        {
          "names": [
            "--version",
            "-V"
          ],
          "description": "Prints version information"
        },
        {
          "names": [
            "--arch"
          ],
          "description": "Override the architecture of the installed Node binary. Defaults to arch of fnm binary",
          "args": [
            {
              "name": "arch",
              "suggestions": [
                "x86",
                "x64",
                "arm64",
                "armv7l",
                "ppc64le",
                "ppc64",
                "s390x"
              ]
            }
          ]
        },
        {
          "names": [
            "--fnm-dir"
          ],
          "description": "The root directory of fnm installations",
          "args": [
            {
              "name": "dir",
              "template": "folders"
            }
          ]
        },
        {
          "names": [
            "--log-level"
          ],
          "description": "The log level of fnm commands",
          "args": [
            {
              "name": "logLevel",
              "suggestions": [
                "quiet",
                "info",
                "error"
              ]
            }
          ]
        },
        {
          "names": [
            "--node-dist-mirror"
          ],
          "description": "Mirror of https://nodejs.org/dist",
          "args": [
            {
              "name": "nodeDistMirror"
            }
          ]
        },
        {
          "names": [
            "--version-file-strategy"
          ],
          "description": "Strategy for how to resolve the Node version",
          "args": [
            {
              "name": "strategy",
              "suggestions": [
                "local",
                "recursive"
              ]
            }
          ]
        }
      ],
      "args": [
        {
          "name": "version",
          "description": "A version string. Can be a partial semver or a LTS version name by the format lts/NAME",
          "isOptional": true,
          "generators": [
            {
              "script": [
                "fnm",
                "list-remote"
              ],
              "cache": {
                "ttl": 86400
              }
            }
          ]
        }
      ]
    },
    {
      "name": "uninstall",
      "description": "Uninstall a Node.js version",
      "options": [
        {
          "names": [
            "--lts"
          ],
          "description": "Install latest LTS"
        },
        {
          "names": [
            "--help",
            "-h"
          ],
          "description": "Prints help information"
        },
        {
          "names": [
            "--version",
            "-V"
          ],
          "description": "Prints version information"
        },
        {
          "names": [
            "--arch"
          ],
          "description": "Override the architecture of the installed Node binary. Defaults to arch of fnm binary",
          "args": [
            {
              "name": "arch",
              "suggestions": [
                "x86",
                "x64",
                "arm64",
                "armv7l",
                "ppc64le",
                "ppc64",
                "s390x"
              ]
            }
          ]
        },
        {
          "names": [
            "--fnm-dir"
          ],
          "description": "The root directory of fnm installations",
          "args": [
            {
              "name": "dir",
              "template": "folders"
            }
          ]
        },
        {
          "names": [
            "--log-level"
          ],
          "description": "The log level of fnm commands",
          "args": [
            {
              "name": "logLevel",
              "suggestions": [
                "quiet",
                "info",
                "error"
              ]
            }
          ]
        },
        {
          "names": [
            "--node-dist-mirror"
          ],
          "description": "Mirror of https://nodejs.org/dist",
          "args": [
            {
              "name": "nodeDistMirror"
            }
          ]
        },
        {
          "names": [
            "--version-file-strategy"
          ],
          "description": "Strategy for how to resolve the Node version",
          "args": [
            {
              "name": "strategy",
              "suggestions": [
                "local",
                "recursive"
              ]
            }
          ]
        }
      ],
      "args": [
        {
          "name": "version",
          "description": "A version string. Can be a partial semver or a LTS version name by the format lts/NAME",
          "isOptional": true,
          "generators": [
            {
              "script": [
                "fnm",
                "list"
              ]
            }
          ]
        }
      ]
    },
    {
      "name": "use",
      "description": "Change Node.js version",
      "options": [
        {
          "names": [
            "--install-if-missing"
          ],
          "description": "Install the version if it isn't installed yet"
        },
        {
          "names": [
            "--lts"
          ],
          "description": "Install latest LTS"
        },
        {
          "names": [
            "--help",
            "-h"
          ],
          "description": "Prints help information"
        },
        {
          "names": [
            "--version",
            "-V"
          ],
          "description": "Prints version information"
        },
        {
          "names": [
            "--arch"
          ],
          "description": "Override the architecture of the installed Node binary. Defaults to arch of fnm binary",
          "args": [
            {
              "name": "arch",
              "suggestions": [
                "x86",
                "x64",
                "arm64",
                "armv7l",
                "ppc64le",
                "ppc64",
                "s390x"
              ]
            }
          ]
        },
        {
          "names": [
            "--fnm-dir"
          ],
          "description": "The root directory of fnm installations",
          "args": [
            {
              "name": "dir",
              "template": "folders"
            }
          ]
        },
        {
          "names": [
            "--log-level"
          ],
          "description": "The log level of fnm commands",
          "args": [
            {
              "name": "logLevel",
              "suggestions": [
                "quiet",
                "info",
                "error"
              ]
            }
          ]
        },
        {
          "names": [
            "--node-dist-mirror"
          ],
          "description": "Mirror of https://nodejs.org/dist",
          "args": [
            {
              "name": "nodeDistMirror"
            }
          ]
        },
        {
          "names": [
            "--version-file-strategy"
          ],
          "description": "Strategy for how to resolve the Node version",
          "args": [
            {
              "name": "strategy",
              "suggestions": [
                "local",
                "recursive"
              ]
            }
          ]
        }
      ],
      "args": [
        {
          "name": "version",
          "description": "A version string. Can be a partial semver or a LTS version name by the format lts/NAME",
          "isOptional": true,
          "generators": [
            {
              "script": [
                "fnm",
                "list"
              ]
            }
          ]
        }
      ]
    },
    {
      "name": "exec",
      "description": "Run a command within fnm context",
      "options": [
        {
          "names": [
            "--using"
          ],
          "description": "Either an explicit version, or a filename with the version written in it",
          "args": [
            {
              "name": "version",
              "description": "A version string. Can be a partial semver or a LTS version name by the format lts/NAME",
              "isOptional": true
            }
          ]
        },
        {
          "names": [
            "--lts"
          ],
          "description": "Install latest LTS"
        },
        {
          "names": [
            "--help",
            "-h"
          ],
          "description": "Prints help information"
        },
        {
          "names": [
            "--version",
            "-V"
          ],
          "description": "Prints version information"
        },
        {
          "names": [
            "--arch"
          ],
          "description": "Override the architecture of the installed Node binary. Defaults to arch of fnm binary",
          "args": [
            {
              "name": "arch",
              "suggestions": [
                "x86",
                "x64",
                "arm64",
                "armv7l",
                "ppc64le",
                "ppc64",
                "s390x"
              ]
            }
          ]
        },
        {
          "names": [
            "--fnm-dir"
          ],
          "description": "The root directory of fnm installations",
          "args": [
            {
              "name": "dir",
              "template": "folders"
            }
          ]
        },
        {
          "names": [
            "--log-level"
          ],
          "description": "The log level of fnm commands",
          "args": [
            {
              "name": "logLevel",
              "suggestions": [
                "quiet",
                "info",
                "error"
              ]
            }
          ]
        },
        {
          "names": [
            "--node-dist-mirror"
          ],
          "description": "Mirror of https://nodejs.org/dist",
          "args": [
            {
              "name": "nodeDistMirror"
            }
          ]
        },
        {
          "names": [
            "--version-file-strategy"
          ],
          "description": "Strategy for how to resolve the Node version",
          "args": [
            {
              "name": "strategy",
              "suggestions": [
                "local",
                "recursive"
              ]
            }
          ]
        }
      ],
      "args": [
        {
          "name": "command",
          "isVariadic": true,
          "isCommand": true
        }
      ]
    },
    {
      "name": "current",
      "description": "Print the current Node.js version",
      "options": [
        {
          "names": [
            "--help",
            "-h"
          ],
          "description": "Prints help information"
        },
        {
          "names": [
            "--version",
            "-V"
          ],
          "description": "Prints version information"
        },
        {
          "names": [
            "--arch"
          ],
          "description": "Override the architecture of the installed Node binary. Defaults to arch of fnm binary",
          "args": [
            {
              "name": "arch",
              "suggestions": [
                "x86",
                "x64",
                "arm64",
                "armv7l",
                "ppc64le",
                "ppc64",
                "s390x"
              ]
            }
          ]
        },
        {
          "names": [
            "--fnm-dir"
          ],
          "description": "The root directory of fnm installations",
          "args": [
            {
              "name": "dir",
              "template": "folders"
            }
          ]
        },
        {
          "names": [
            "--log-level"
          ],
          "description": "The log level of fnm commands",
          "args": [
            {
              "name": "logLevel",
              "suggestions": [
                "quiet",
                "info",
                "error"
              ]
            }
          ]
        },
        {
          "names": [
            "--node-dist-mirror"
          ],
          "description": "Mirror of https://nodejs.org/dist",
          "args": [
            {
              "name": "nodeDistMirror"
            }
          ]
        },
        {
          "names": [
            "--version-file-strategy"
          ],
          "description": "Strategy for how to resolve the Node version",
          "args": [
            {
              "name": "strategy",
              "suggestions": [
                "local",
                "recursive"
              ]
            }
          ]
        }
      ]
    },
    {
      "name": "list",
      "aliases": [
        "ls"
      ],
      "description": "List all locally installed Node.js versions",
      "options": [
        {
          "names": [
            "--help",
            "-h"
          ],
          "description": "Prints help information"
        },
        {
          "names": [
            "--version",
            "-V"
          ],
          "description": "Prints version information"
        },
        {
          "names": [
            "--arch"
          ],
          "description": "Override the architecture of the installed Node binary. Defaults to arch of fnm binary",
          "args": [
            {
              "name": "arch",
              "suggestions": [
                "x86",
                "x64",
                "arm64",
                "armv7l",
                "ppc64le",
                "ppc64",
                "s390x"
              ]
            }
          ]
        },
        {
          "names": [
            "--fnm-dir"
          ],
          "description": "The root directory of fnm installations",
          "args": [
            {
              "name": "dir",
              "template": "folders"
            }
          ]
        },
        {
          "names": [
            "--log-level"
          ],
          "description": "The log level of fnm commands",
          "args": [
            {
              "name": "logLevel",
              "suggestions": [
                "quiet",
                "info",
                "error"
              ]
            }
          ]
        },
        {
          "names": [
            "--node-dist-mirror"
          ],
          "description": "Mirror of https://nodejs.org/dist",
          "args": [
            {
              "name": "nodeDistMirror"
            }
          ]
        },
        {
          "names": [
            "--version-file-strategy"
          ],
          "description": "Strategy for how to resolve the Node version",
          "args": [
            {
              "name": "strategy",
              "suggestions": [
                "local",
                "recursive"
              ]
            }
          ]
        }
      ]
    },
    {
      "name": "list-remote",
      "aliases": [
        "ls-remote"
      ],
      "description": "List all remote Node.js versions",
      "options": [
        {
          "names": [
            "--help",
            "-h"
          ],
          "description": "Prints help information"
        },
        {
          "names": [
            "--version",
            "-V"
          ],
          "description": "Prints version information"
        },
        {
          "names": [
            "--arch"
          ],
          "description": "Override the architecture of the installed Node binary. Defaults to arch of fnm binary",
          "args": [
            {
              "name": "arch",
              "suggestions": [
                "x86",
                "x64",
                "arm64",
                "armv7l",
                "ppc64le",
                "ppc64",
                "s390x"
              ]
            }
          ]
        },
        {
          "names": [
            "--fnm-dir"
          ],
          "description": "The root directory of fnm installations",
          "args": [
            {
              "name": "dir",
              "template": "folders"
            }
          ]
        },
        {
          "names": [
            "--log-level"
          ],
          "description": "The log level of fnm commands",
          "args": [
            {
              "name": "logLevel",
              "suggestions": [
                "quiet",
                "info",
                "error"
              ]
            }
          ]
        },
        {
          "names": [
            "--node-dist-mirror"
          ],
          "description": "Mirror of https://nodejs.org/dist",
          "args": [
            {
              "name": "nodeDistMirror"
            }
          ]
        },
        {
          "names": [
            "--version-file-strategy"
          ],
          "description": "Strategy for how to resolve the Node version",
          "args": [
            {
              "name": "strategy",
              "suggestions": [
                "local",
                "recursive"
              ]
            }
          ]
        }
      ]
    },
    {
      "name": "alias",
      "description": "Alias a version to a common name",
      "options": [
        {
          "names": [
            "--help",
            "-h"
          ],
          "description": "Prints help information"
        },
        {
          "names": [
            "--version",
            "-V"
          ],
          "description": "Prints version information"
        },
        {
          "names": [
            "--arch"
          ],
          "description": "Override the architecture of the installed Node binary. Defaults to arch of fnm binary",
          "args": [
            {
              "name": "arch",
              "suggestions": [
                "x86",
                "x64",
                "arm64",
                "armv7l",
                "ppc64le",
                "ppc64",
                "s390x"
              ]
            }
          ]
        },
        {
          "names": [
            "--fnm-dir"
          ],
          "description": "The root directory of fnm installations",
          "args": [
            {
              "name": "dir",
              "template": "folders"
            }
          ]
        },
        {
          "names": [
            "--log-level"
          ],
          "description": "The log level of fnm commands",
          "args": [
            {
              "name": "logLevel",
              "suggestions": [
                "quiet",
                "info",
                "error"
              ]
            }
          ]
        },
        {
          "names": [
            "--node-dist-mirror"
          ],
          "description": "Mirror of https://nodejs.org/dist",
          "args": [
            {
              "name": "nodeDistMirror"
            }
          ]
        },
        {
          "names": [
            "--version-file-strategy"
          ],
          "description": "Strategy for how to resolve the Node version",
          "args": [
            {
              "name": "strategy",
              "suggestions": [
                "local",
                "recursive"
              ]
            }
          ]
        }
      ],
      "args": [
        {
          "name": "version",
          "description": "A version string. Can be a partial semver or a LTS version name by the format lts/NAME",
          "isOptional": true,
          "generators": [
            {
              "script": [
                "fnm",
                "list"
              ]
            }
          ]
        },
        {
          "name": "name",
          "description": "Alias name"
        }
      ]
    },
    {
      "name": "unalias",
      "description": "Deletes the alias named <name>",
      "options": [
        {
          "names": [
            "--help",
            "-h"
          ],
          "description": "Prints help information"
        },
        {
          "names": [
            "--version",
            "-V"
          ],
          "description": "Prints version information"
        },
        {
          "names": [
            "--arch"
          ],
          "description": "Override the architecture of the installed Node binary. Defaults to arch of fnm binary",
          "args": [
            {
              "name": "arch",
              "suggestions": [
                "x86",
                "x64",
                "arm64",
                "armv7l",
                "ppc64le",
                "ppc64",
                "s390x"
              ]
            }
          ]
        },
        {
          "names": [
            "--fnm-dir"
          ],
          "description": "The root directory of fnm installations",
          "args": [
            {
              "name": "dir",
              "template": "folders"
            }
          ]
        },
        {
          "names": [
            "--log-level"
          ],
          "description": "The log level of fnm commands",
          "args": [
            {
              "name": "logLevel",
              "suggestions": [
                "quiet",
                "info",
                "error"
              ]
            }
          ]
        },
        {
          "names": [
            "--node-dist-mirror"
          ],
          "description": "Mirror of https://nodejs.org/dist",
          "args": [
            {
              "name": "nodeDistMirror"
            }
          ]
        },
        {
          "names": [
            "--version-file-strategy"
          ],
          "description": "Strategy for how to resolve the Node version",
          "args": [
            {
              "name": "strategy",
              "suggestions": [
                "local",
                "recursive"
              ]
            }
          ]
        }
      ],
      "args": [
        {
          "name": "requested-alias",
          "description": "Alias name"
        }
      ]
    },
    {
      "name": "completions",
      "description": "Print shell completions to stdout",
      "options": [
        {
          "names": [
            "shell"
          ],
          "description": "The shell syntax to use. Infers when missing",
          "args": [
            {
              "name": "shell",
              "suggestions": [
                "zsh",
                "bash",
                "fish",
                "powershell",
                "elvish"
              ]
            }
          ]
        },
        {
          "names": [
            "--help",
            "-h"
          ],
          "description": "Prints help information"
        },
        {
          "names": [
            "--version",
            "-V"
          ],
          "description": "Prints version information"
        },
        {
          "names": [
            "--arch"
          ],
          "description": "Override the architecture of the installed Node binary. Defaults to arch of fnm binary",
          "args": [
            {
              "name": "arch",
              "suggestions": [
                "x86",
                "x64",
                "arm64",
                "armv7l",
                "ppc64le",
                "ppc64",
                "s390x"
              ]
            }
          ]
        },
        {
          "names": [
            "--fnm-dir"
          ],
          "description": "The root directory of fnm installations",
          "args": [
            {
              "name": "dir",
              "template": "folders"
            }
          ]
        },
        {
          "names": [
            "--log-level"
          ],
          "description": "The log level of fnm commands",
          "args": [
            {
              "name": "logLevel",
              "suggestions": [
                "quiet",
                "info",
                "error"
              ]
            }
          ]
        },
        {
          "names": [
            "--node-dist-mirror"
          ],
          "description": "Mirror of https://nodejs.org/dist",
          "args": [
            {
              "name": "nodeDistMirror"
            }
          ]
        },
        {
          "names": [
            "--version-file-strategy"
          ],
          "description": "Strategy for how to resolve the Node version",
          "args": [
            {
              "name": "strategy",
              "suggestions": [
                "local",
                "recursive"
              ]
            }
          ]
        }
      ]
    },
    {
      "name": "default",
      "description": "Set a version as the default version. This is a shorthand for 'fnm alias VERSION default'",
      "options": [
        {
          "names": [
            "--help",
            "-h"
          ],
          "description": "Prints help information"
        },
        {
          "names": [
            "--version",
            "-V"
          ],
          "description": "Prints version information"
        },
        {
          "names": [
            "--arch"
          ],
          "description": "Override the architecture of the installed Node binary. Defaults to arch of fnm binary",
          "args": [
            {
              "name": "arch",
              "suggestions": [
                "x86",
                "x64",
                "arm64",
                "armv7l",
                "ppc64le",
                "ppc64",
                "s390x"
              ]
            }
          ]
        },
        {
          "names": [
            "--fnm-dir"
          ],
          "description": "The root directory of fnm installations",
          "args": [
            {
              "name": "dir",
              "template": "folders"
            }
          ]
        },
        {
          "names": [
            "--log-level"
          ],
          "description": "The log level of fnm commands",
          "args": [
            {
              "name": "logLevel",
              "suggestions": [
                "quiet",
                "info",
                "error"
              ]
            }
          ]
        },
        {
          "names": [
            "--node-dist-mirror"
          ],
          "description": "Mirror of https://nodejs.org/dist",
          "args": [
            {
              "name": "nodeDistMirror"
            }
          ]
        },
        {
          "names": [
            "--version-file-strategy"
          ],
          "description": "Strategy for how to resolve the Node version",
          "args": [
            {
              "name": "strategy",
              "suggestions": [
                "local",
                "recursive"
              ]
            }
          ]
        }
      ],
      "args": [
        {
          "name": "version",
          "description": "A version string. Can be a partial semver or a LTS version name by the format lts/NAME",
          "isOptional": true,
          "generators": [
            {
              "script": [
                "fnm",
                "list"
              ]
            }
          ]
        }
      ]
    },
    {
      "name": "env",
      "description": "Print and set up required environment variables for fnm",
      "options": [
        {
          "names": [
            "--use-on-cd"
          ],
          "description": "Print the script to change Node versions every directory change"
        },
        {
          "names": [
            "shell"
          ],
          "description": "The shell syntax to use. Infers when missing",
          "args": [
            {
              "name": "shell",
              "suggestions": [
                "zsh",
                "bash",
                "fish",
                "powershell",
                "elvish"
              ]
            }
          ]
        },
        {
          "names": [
            "--help",
            "-h"
          ],
          "description": "Prints help information"
        },
        {
          "names": [
            "--version",
            "-V"
          ],
          "description": "Prints version information"
        },
        {
          "names": [
            "--arch"
          ],
          "description": "Override the architecture of the installed Node binary. Defaults to arch of fnm binary",
          "args": [
            {
              "name": "arch",
              "suggestions": [
                "x86",
                "x64",
                "arm64",
                "armv7l",
                "ppc64le",
                "ppc64",
                "s390x"
              ]
            }
          ]
        },
        {
          "names": [
            "--fnm-dir"
          ],
          "description": "The root directory of fnm installations",
          "args": [
            {
              "name": "dir",
              "template": "folders"
            }
          ]
        },
        {
          "names": [
            "--log-level"
          ],
          "description": "The log level of fnm commands",
          "args": [
            {
              "name": "logLevel",
              "suggestions": [
                "quiet",
                "info",
                "error"
              ]
            }
          ]
        },
        {
          "names": [
            "--node-dist-mirror"
          ],
          "description": "Mirror of https://nodejs.org/dist",
          "args": [
            {
              "name": "nodeDistMirror"
            }
          ]
        },
        {
          "names": [
            "--version-file-strategy"
          ],
          "description": "Strategy for how to resolve the Node version",
          "args": [
            {
              "name": "strategy",
              "suggestions": [
                "local",
                "recursive"
              ]
            }
          ]
        }
      ]
    },
    {
      "name": "help",
      "description": "Prints the help page or the help of the given subcommand(s)",
      "options": [
        {
          "names": [
            "--help",
            "-h"
          ],
          "description": "Prints help information"
        },
        {
          "names": [
            "--version",
            "-V"
          ],
          "description": "Prints version information"
        },
        {
          "names": [
            "--arch"
          ],
          "description": "Override the architecture of the installed Node binary. Defaults to arch of fnm binary",
          "args": [
            {
              "name": "arch",
              "suggestions": [
                "x86",
                "x64",
                "arm64",
                "armv7l",
                "ppc64le",
                "ppc64",
                "s390x"
              ]
            }
          ]
        },
        {
          "names": [
            "--fnm-dir"
          ],
          "description": "The root directory of fnm installations",
          "args": [
            {
              "name": "dir",
              "template": "folders"
            }
          ]
        },
        {
          "names": [
            "--log-level"
          ],
          "description": "The log level of fnm commands",
          "args": [
            {
              "name": "logLevel",
              "suggestions": [
                "quiet",
                "info",
                "error"
              ]
            }
          ]
        },
        {
          "names": [
            "--node-dist-mirror"
          ],
          "description": "Mirror of https://nodejs.org/dist",
          "args": [
            {
              "name": "nodeDistMirror"
            }
          ]
        },
        {
          "names": [
            "--version-file-strategy"
          ],
          "description": "Strategy for how to resolve the Node version",
          "args": [
            {
              "name": "strategy",
              "suggestions": [
                "local",
                "recursive"
              ]
            }
          ]
        }
      ],
      "args": [
        {
          "name": "command",
          "isOptional": true,
          "template": "help"
        }
      ]
    }
  ]
}
