@fui-org/fui-cli 1.0.2 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +33 -2
- package/dist/fui.js +167 -161
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -15,13 +15,44 @@ Design: [docs/specs/2026-09-28-fui-cli-v1-design.md](docs/specs/2026-09-28-fui-c
|
|
|
15
15
|
|
|
16
16
|
## Install
|
|
17
17
|
|
|
18
|
-
|
|
18
|
+
### 1. Install Bun
|
|
19
|
+
|
|
20
|
+
`fui` runs on [Bun](https://bun.com) 1.4 or later. Skip this step if `bun --version` already prints 1.4 or later.
|
|
21
|
+
|
|
22
|
+
macOS and Linux:
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
curl -fsSL https://bun.sh/install | bash
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
On macOS you can use Homebrew instead:
|
|
29
|
+
|
|
30
|
+
```bash
|
|
31
|
+
brew install oven-sh/bun/bun
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
Windows (PowerShell):
|
|
35
|
+
|
|
36
|
+
```powershell
|
|
37
|
+
powershell -c "irm bun.sh/install.ps1 | iex"
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
Open a new terminal so `PATH` picks up Bun, then check it:
|
|
41
|
+
|
|
42
|
+
```bash
|
|
43
|
+
bun --version
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
To upgrade an older Bun, run `bun upgrade`.
|
|
47
|
+
|
|
48
|
+
### 2. Install fui
|
|
19
49
|
|
|
20
50
|
```bash
|
|
21
51
|
bun add -g @fui-org/fui-cli
|
|
52
|
+
fui --version
|
|
22
53
|
```
|
|
23
54
|
|
|
24
|
-
This puts `fui` on your `PATH
|
|
55
|
+
This puts `fui` on your `PATH`, in `~/.bun/bin` on macOS and Linux and in `%USERPROFILE%\.bun\bin` on Windows. To run it once without installing:
|
|
25
56
|
|
|
26
57
|
```bash
|
|
27
58
|
bunx --package @fui-org/fui-cli fui --help
|