Skip to content

Docs: replace deprecated yarn global examples#1799

Open
SSDWGG wants to merge 8 commits into
marcoroth:mainfrom
SSDWGG:docs/update-yarn-dlx-install-examples
Open

Docs: replace deprecated yarn global examples#1799
SSDWGG wants to merge 8 commits into
marcoroth:mainfrom
SSDWGG:docs/update-yarn-dlx-install-examples

Conversation

@SSDWGG

@SSDWGG SSDWGG commented Jun 13, 2026

Copy link
Copy Markdown

Summary

  • replace deprecated yarn global add examples with yarn dlx for Herb packages
  • update the language server Yarn heading to avoid describing it as a global install

Fixes #1312

@github-actions github-actions Bot added documentation Improvements or additions to documentation linter formatter language-server labels Jun 13, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge 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 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation formatter language-server linter

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Docs: Deprecated yarn global

1 participant