Skip to content

Warn when the user install the local cli globally #2097

Description

@liangmiQwQ

Description

For some persons who don't know Vite+ from the official website, they may easily run npm -g install vite-plus to install Vite+, but it is actually not the expected global CLI. Node management and other core features are missing.

Suggested solution

Print a warning when Vite+ local cli package is installed globally.

Alternative

N / A

Additional context

N / A

https://discord.com/channels/1475973262193459293/1524301479794446488/1524365671620804659

Validations

  • Read the Contributing Guidelines.
  • Confirm this request is for Vite+ itself and not for Vite, Vitest, tsdown, Rolldown, or Oxc.
  • Check that there isn't already an issue requesting the same feature.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Fields

    Priority

    None yet

    Start date

    None yet

    Target date

    None yet

    Effort

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions