Documentation Index
Fetch the complete documentation index at: https://mintlify.com/queaxtra/zvelte/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Zvelte CLI options modify the behavior of commands. All options can be combined with commands to customize project creation.Available Options
—install
Installs project dependencies automatically after creating the project.Prompts you to select a package manager from available options (bun, pnpm, npm, yarn).
Installs dependencies using the specified package manager without prompting.Accepted values:
bun, pnpm, npm, yarnBehavior
When you use the--install flag:
-
With value (e.g.,
--install=bun):- Checks if the specified package manager is installed
- If installed: Runs
<pm> installin the project directory - If not installed: Displays a warning and skips installation
-
Without value (e.g.,
--install):- Detects all available package managers on your system
- Presents an interactive prompt to choose one
- Includes a “None” option to skip installation
- If no package managers are found: Displays a warning and skips
The tool checks for package manager availability by running
<pm> --version. If the command fails, the package manager is considered unavailable.Examples
Install with a specific package manager:Warning Messages
If the specified package manager is not installed:--install without a value):
Success Message
When dependencies are installed successfully:-h, —help
Displays the help message with usage information.Short form of the help flag.
Long form of the help flag. Functionally identical to
-h.Behavior
- Displays the complete usage message
- Shows all available commands, arguments, and options
- Includes practical examples
- Exits immediately without running any commands
Examples
Option Combinations
You can combine multiple options with commands:Default Behavior
When no options are specified:- Project is created without installing dependencies
- You must manually run
<pm> installafter project creation - No interactive prompts are displayed