Docs: replace deprecated yarn global examples#1799
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 61bafe7b73
ℹ️ 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 |
There was a problem hiding this comment.
Restore a real Yarn install command
Yarn's dlx docs describe it as installing a package in a temporary environment and running its binary, so it does not leave herb-language-server on PATH. In this global-install section, the following step and editor configs invoke herb-language-server directly; Yarn users who follow this line will get an LSP command-not-found instead of a persistent install. The same replacement appears in the other global-install snippets and should either remain a real install or change the later command to use yarn dlx ... --stdio.
Useful? React with 👍 / 👎.
Summary
yarn global addexamples withyarn dlxfor Herb packagesFixes #1312