Rush StackShopBlogEvents
Skip to main content

Home > @microsoft/rush-lib > RushConfiguration > currentInstalledVariant

RushConfiguration.currentInstalledVariant property

Gets the currently-installed variant, if an installation has occurred. For Rush operations which do not take a --variant parameter, this method determines which variant, if any, was last specified when performing "rush install" or "rush update".

Signature:

get currentInstalledVariant(): string | undefined;