Skip to content

Check for existing installation in the onboarding prompt #2290

Description

@Arcadi4

Documentation is

  • Missing
  • Outdated
  • Confusing
  • Not sure

Explain in Detail

The current onboarding prompt forces the agent to execute the installation script:

curl -fsSL https://vite.plus | bash

Sometimes, I'm just scaffolding/migrating a project with the prompt. Usually, this should be harmless, but I installed vp via Homebrew, so this prompt will always create a parallel installation which I have to remove later. I'm sure Linux users using their own system-level package managers will face the same issue.

Full prompt
I want to use Vite+ in my project. Vite+ is the unified toolchain for the web behind the `vp` CLI — one tool combining Vite, Rolldown, Vitest, tsdown, Oxlint, Oxfmt, and Vite Task, plus runtime and package-manager management.

First, read https://viteplus.dev/llms-full.txt to learn Vite+'s commands and configuration.

Install the `vp` CLI:
- macOS / Linux: curl -fsSL https://vite.plus | bash
- Windows (PowerShell): irm https://vite.plus/ps1 | iex

Then open a new terminal and run `vp help`. To scaffold a new project run `vp create`; to move an existing Vite project onto Vite+ run `vp migrate`.

Day-to-day commands: `vp install` (dependencies), `vp dev` (dev server), `vp check` (format + lint + type-check), `vp test` (tests), and `vp build` (production build).

Help me get set up and explain anything I should know.

Your Suggestion for Changes

Add a gate before installation:

- Install the `vp` CLI:
+ Install the `vp` CLI if it's not already on the system:

Modern models generally don't need a hint on using vp --version or which vp.

Relevant Page

https://viteplus.dev/guide

Reproduction (Optional)

No response

Steps to reproduce (Optional)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions