Recommend global installation for Vendure CLI in Documentation #3313
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR updates the installation instructions for the Vendure CLI. Previously, the documentation suggested installing the Vendure CLI locally in each project. However, I recommend installing the Vendure CLI globally to streamline the developer workflow and avoid redundant installations.
Key Changes:
Global Installation: Installing the Vendure CLI globally via
npm install -g @vendure/cli
eliminates the need to install it in each individual project. This makes the CLI available for use across all projects on the system, improving the developer experience.Local Installation (Optional): Local installation instructions remain available for users who prefer a project-specific setup, but the global installation option should be the default for most use cases.
Breaking changes
No
Screenshots
No
Checklist
📌 Always:
👍 Most of the time: