rush init

Initializes a new repository to be managed by Rush

Options

NameDescription
--overwrite-existingBy default "rush init" will not overwrite existing config files. Specify this switch to override that. This can be useful when upgrading your repo to a newer release of Rush. WARNING: USE WITH CARE!
--rush-example-repoWhen copying the template config files, this uncomments fragments that are used by the "rush-example" GitHub repo, which is a sample monorepo that illustrates many Rush features. This option is primarily intended for maintaining that example