Skip to content

Commit 5cb64a4

Browse files
sinelawclaude
andcommitted
Improve installation instructions in README
- Add quick-reference table linking to each installation method - Add macOS Homebrew tap instructions - Move npm/npx to non-recommended position - Reorder with native package managers first 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 6a9753d commit 5cb64a4

File tree

1 file changed

+26
-8
lines changed

1 file changed

+26
-8
lines changed

README.md

Lines changed: 26 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -35,16 +35,28 @@ Fresh is engineered for speed. It delivers a near zero-latency experience, with
3535

3636
## Installation
3737

38-
### Via npm (recommended)
38+
| Platform | Method |
39+
|----------|--------|
40+
| macOS | [Homebrew](#macos-homebrew) |
41+
| Arch Linux | [AUR](#arch-linux-aur) |
42+
| Debian/Ubuntu | [.deb](#debianubuntu-deb) |
43+
| Fedora/RHEL | [.rpm](#fedorarhelopensuse-rpm) |
44+
| All platforms | [Pre-built binaries](#pre-built-binaries) |
45+
| npm | [npm / npx](#npm) |
46+
| Rust users | [crates.io](#from-cratesio) |
47+
| Developers | [From source](#from-source) |
48+
49+
### macOS (Homebrew)
3950

4051
```bash
41-
npm install -g @fresh-editor/fresh-editor
52+
brew tap sinelaw/fresh
53+
brew install fresh-editor
4254
```
4355

44-
### Via npx (for a quick test)
56+
### Arch Linux ([AUR](https://aur.archlinux.org/packages/fresh-editor))
4557

4658
```bash
47-
npx @fresh-editor/fresh-editor
59+
yay -S fresh-editor
4860
```
4961

5062
### Debian/Ubuntu (.deb)
@@ -63,15 +75,21 @@ Download the `.rpm` file from the [releases page](https://github.com/sinelaw/fre
6375
sudo rpm -i fresh-editor-*.rpm
6476
```
6577

66-
### Arch Linux ([AUR](https://aur.archlinux.org/packages/fresh-editor))
78+
### Pre-built binaries
79+
80+
Download the latest release for your platform from the [releases page](https://github.com/sinelaw/fresh/releases).
81+
82+
### npm
6783

6884
```bash
69-
yay -S fresh-editor
85+
npm install -g @fresh-editor/fresh-editor
7086
```
7187

72-
### Other pre-built binaries
88+
Or try it without installing:
7389

74-
Download the latest release for your platform from the [releases page](https://github.com/sinelaw/fresh/releases).
90+
```bash
91+
npx @fresh-editor/fresh-editor
92+
```
7593

7694
### From crates.io
7795

0 commit comments

Comments
 (0)