Home > @microsoft/rush-lib > Rush > launch

Rush.launch() method

This API is used by the @microsoft/rush front end to launch the “rush” command-line. Third-party tools should not use this API. Instead, they should execute the “rush” binary and start a new Node.js process.


static launch(launcherVersion: string, arg: ILaunchOptions): void;


Parameter Type Description
launcherVersion string The version of the @microsoft/rush wrapper used to call invoke the CLI.
arg ILaunchOptions  




Earlier versions of the rush frontend used a different API contract. In the old contract, the second argument was the isManaged value of the ILaunchOptions object.

Even though this API isn’t documented, it is still supported for legacy compatibility.