nvm exec [version] <command...>
Run <command> on <version>. Uses .nvmrc if available and version is omitted
Arguments
Name | Description |
---|---|
version | Node version |
command |
Options
Name | Description |
---|---|
--silent | Silences stdout/stderr output |
--lts | Uses automatic LTS (long-term support) alias `lts/*`, if available |
--lts <LTS name> | Uses automatic alias for provided LTS line, if available |