Rush StackShopBlogEvents
Skip to main content

Home > @microsoft/rush-lib > RushLifecycleHooks > beforeInstall

RushLifecycleHooks.beforeInstall property

This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

The hook to run between preparing the common/temp folder and invoking the package manager during "rush install" or "rush update".

Signature:

readonly beforeInstall: AsyncSeriesHook<[
command: IGlobalCommand,
subspace: Subspace,
variant: string | undefined
]>;