NodeCG's command line interface.
nodecg-cli has been migrated to nodecg. This repository is now deprecated and will no longer be maintained. Please uninstall nodecg-cli and install nodecg instead.
npm un -g nodecg-cli
npm i -g nodecgThe nodecg includes the CLI from v2.4.0, which is equivalent to [email protected].
nodecg-cliversion earlier than 8.6.1 is not compatible with NodeCG 2.x.x.nodecg-cliversion 9.0.0 and later are not compatible with NodeCG 0.x.x and 1.x.x.
| NodeCG | nodecg-cli |
|---|---|
| 0.x.x | < 9.0.0 |
| 1.x.x | < 9.0.0 |
| 2.x.x | >= 8.6.1 |
First, make sure you have git installed, and that it is in your PATH.
Once those are installed, you may install nodecg-cli via npm:
npm install -g nodecg-cliInstalling nodecg-cli does not install NodeCG.
To install an instance of NodeCG, use the setup command in an empty directory:
mkdir nodecg
cd nodecg
nodecg setupnodecg setup [version] [--update], install a new instance of NodeCG.versionis a semver range. Ifversionis not supplied, the latest release will be installed. Enable--updateflag to install over an existing copy of NodeCG.nodecg start, start the NodeCG instance in this directory pathnodecg install [repo] [--dev], install a bundle by cloning a git repo. Can be a GitHub owner/repo pair (supportclass/lfg-sublistener) or https git url (https://github.com/SupportClass/lfg-sublistener.git). If run in a bundle directory with no arguments, installs that bundle's dependencies. Enable--devflag to install the bundle'sdevDependencies.nodecg uninstall <bundle>, uninstall a bundlenodecg defaultconfig, If a bundle has aconfigschema.jsonpresent in its root, this command will create a default config file atnodecg/cfg/:bundleName.jsonwith defaults based on that schema.nodecg schema-types [dir], Generate d.ts TypeScript typedef files from Replicant schemas and configschema.json (if present)