Skip to content

Conversation

@AMDphreak
Copy link

@AMDphreak AMDphreak commented Nov 18, 2025

manual installation guide for Biome: Added winget install option. Fixed Windows install instructions. Added PATH instructions

Expanded installation instructions for Biome, including winget installation option, organized instructions into platform sections rather than the installation tool, added PATH variable instructions. They're kind of important for anyone using this in scripts.

Summary

Instructions lack explanation for why you would want to use manual installation and when you wouldn't want to. Lacked instructions for adding the binary to PATH for common usage. Lacked instructions for winget install option which is new.

Fixes #3490

…ixed Windows install instructions. Added PATH instructions

Expanded installation instructions for Biome, including `winget` installation option, organized instructions into platform sections rather than the installation tool, added PATH variable instructions. They're kind of important for anyone using this in scripts.
@netlify
Copy link

netlify bot commented Nov 18, 2025

Deploy Preview for biomejs ready!

Name Link
🔨 Latest commit 882e4a2
🔍 Latest deploy log https://app.netlify.com/projects/biomejs/deploys/6921563fb53d0900082e3269
😎 Deploy Preview https://deploy-preview-3494--biomejs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@AMDphreak
Copy link
Author

AMDphreak commented Nov 18, 2025

hand-edited this in GitHub. Did not test the syntax using linter. Please review.

@github-actions
Copy link
Contributor

github-actions bot commented Nov 18, 2025

Lunaria Status Overview

🌕 This pull request will trigger status changes.

Learn more

By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.

You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

Locale File Note
en src/content/docs/guides/manual-installation.mdx Source changed, localizations will be marked as outdated.
Warnings reference
Icon Description
🔄️ The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.

Copy link
Member

@ematipico ematipico left a comment

Choose a reason for hiding this comment

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

Nice glow up!! I left some suggestions

Comment on lines +15 to +16
If you are using Biome in a CI/CD pipeline, you should install it directly into the project using a Node.js
package manager (`npm`, `pnpm`, etc) and abandon this manual option.
Copy link
Member

Choose a reason for hiding this comment

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

Since this is the page of manual installation, we shouldn't overstep into CI/CD suggestions.

Plus, we already own our own GitHub action and recipes, which doesn't use npm.

To sum up, this suggestion shouldn't be here.

## Supported Architectures

You have to pick the correct binary for your platform for Biome work. The following table should help you do so.
You have to pick the correct binary for your CPU architecture for Biome work. The following table should help you do so.
Copy link
Member

Choose a reason for hiding this comment

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

Why the change? FYI we chose the word platform because there are two variables: CPU and OS


Using Biome's standalone CLI binary can be a great choice if you aren't already using Node.js or `npm` (or any other package manager).
Or in other words, Biome shouldn't be the only reason for you to have a `package.json`.
You can install Biome to your machine to use like any other command line tool. This can be a great choice
Copy link
Member

Choose a reason for hiding this comment

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

I liked the previous wording because it highlighted the fact that you don't need Node.js to use Biome, that was the major selling point.

The proposed wording doesn't do that. Plus, you can install CLI tools globally even with npm, so we lost the fact that Biome is a standalone binary

Comment on lines +11 to +13
if you need to run this manually: for instance, if you use a code editor that does not have a Biome plugin,
or if you intend to use this in shell scripts or another local tool to automate processing of source code
files, or if you intend to have an AI coding tool execute this tool.
Copy link
Member

Choose a reason for hiding this comment

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

I like the proposed use cases, maybe we can make a list out of them

<Code lang="shell" code={`
# Windows (x86_64, Powershell)
set PATH="%PATH%;%USERPROFILE%\Downloads\binaries\"
`} />
Copy link
Member

Choose a reason for hiding this comment

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

Can we add a note that says that those tags/binaries published on wget aren't managed by the team?

chmod +x biome
`} />

You can now run Biome with `./biome`.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
You can now run Biome with `./biome`.
You can now run Biome with `./biome`.
```shell
./biome check
```

To run it globally from any directory just by typing `biome`, add it to your `PATH`.
Here are the recommended ways:

**Recommended: Move the binary to a directory already in `$PATH`**
Copy link
Member

Choose a reason for hiding this comment

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

Should we suggest a way to know which folders are available in PATH?

Comment on lines +131 to +132
**Alternative: Add the current folder to your `PATH`**
If you prefer not to move the binary, append the current directory to `PATH` in your shell configuration file.
Copy link
Member

Choose a reason for hiding this comment

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

It's not very clear what "current folder" actually means, because it could mean anything, even a temporary folder where users download their stuff.

I suggest rewording the suggestion in another way by suggesting to add a new folder to PATH

Comment on lines +143 to +147
:::note
**Tip**: Moving the binary to `/usr/local/bin` or `~/.local/bin` (as shown in the
recommended method) is cleaner, more reliable, and works across all terminal
sessions without relying on `$(pwd)`.
:::
Copy link
Member

Choose a reason for hiding this comment

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


Now `biome` works everywhere:

<Code lang="shell" code={`biome --version biome format . biome lint .`} />
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
<Code lang="shell" code={`biome --version biome format . biome lint .`} />
<Code lang="shell" code={`biome check`} />

We don't recommend using the . anymore

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

📚 Install for windows should use winget

2 participants