Skip to content

docs: add Deno to install instructions#3385

Open
bartlomieju wants to merge 1 commit into
emotion-js:mainfrom
bartlomieju:add-deno-install
Open

docs: add Deno to install instructions#3385
bartlomieju wants to merge 1 commit into
emotion-js:mainfrom
bartlomieju:add-deno-install

Conversation

@bartlomieju

Copy link
Copy Markdown

👋 Bartek from the Deno team here.

The install instructions list yarn and npm, but not Deno. Since Deno is a drop-in replacement for npm these days, I'd like to add a Deno line so Deno users have a copy-pasteable command, in parity with the others:

deno install @emotion/react

(As of Deno 2.8 there's no npm: prefix needed, it's the same command shape as npm install @emotion/react.)

Totally fine to close this if you'd rather keep the list short, no hard feelings. Happy to adjust wording, placement, or move it elsewhere.

Disclosure: I work on Deno, so I have an interest here. The goal is parity with the package managers you already list, not promotion. This PR was prepared with AI assistance under human supervision: I review every change myself and personally respond to any comments or review feedback.


What: Adds a deno install @emotion/react line to the install docs, next to the existing yarn and npm commands.

Why: Deno users currently have to translate the npm command themselves; this gives parity with the package managers already listed.

How: Added one bash snippet in docs/install.mdx matching the existing style.

Checklist:

  • Documentation
  • Tests — N/A
  • Code complete
  • Changeset — N/A (docs only, no package release)

@changeset-bot

changeset-bot Bot commented Jun 22, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 08df005

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@codesandbox-ci

Copy link
Copy Markdown

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

@Andarist

Copy link
Copy Markdown
Member

To be fair, with the plethora of package managers these days - I kinda wonder if we just shouldn't mention a single package manager in those instructions. Like, Deno users know how to install packages, right? I would just like to avoid having a list of 5+ installation instructions here where each one of them is super-super similar and already well-known by the users of those tools

@bartlomieju

Copy link
Copy Markdown
Author

@Andarist that's fine for me, feel free to close the PR!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants