docs: replace deprecated yarn global examples#1798
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 330746fd78
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
|
||
| ```bash [yarn] | ||
| yarn global add @herb-tools/language-server | ||
| yarn dlx @herb-tools/language-server --stdio |
There was a problem hiding this comment.
Preserve a real Yarn install step
When a Yarn user follows this editor setup, this command starts the language server once instead of installing herb-language-server onto PATH: Yarn's dlx docs describe it as running a package in a temporary environment. The subsequent instructions on this page and the editor-specific pages still run or configure herb-language-server --stdio, so they fail in a fresh shell for Yarn-only users; either keep an actual installation path or update the editor commands to invoke Yarn each time.
Useful? React with 👍 / 👎.
Summary
yarn global addexamples withyarn dlxcommandsFixes #1312