Skip to content

Commit 0229700

Browse files
authored
Merge pull request #2 from openbootdotdev/claude/update-openboot-docs-3QQGA
Simplify CLI reference for v1.0: remove deprecated commands
2 parents 2422bed + 2af5adf commit 0229700

10 files changed

Lines changed: 352 additions & 694 deletions

File tree

src/docs/cli-reference.md

Lines changed: 100 additions & 345 deletions
Large diffs are not rendered by default.

src/docs/dotfiles-shell.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ After installation, restart your terminal or run `source ~/.zshrc` to pick up th
2626
If you manage your shell config yourself:
2727

2828
```
29-
openboot --shell skip
29+
openboot install --shell skip
3030
```
3131

3232
## Dotfiles
@@ -50,8 +50,8 @@ Control how OpenBoot handles dotfiles with the `--dotfiles` flag:
5050
| `skip` | Don't touch dotfiles |
5151

5252
```
53-
openboot --dotfiles link
54-
openboot --dotfiles skip
53+
openboot install --dotfiles link
54+
openboot install --dotfiles skip
5555
```
5656

5757
### Setting Up Your Dotfiles Repo
@@ -97,7 +97,7 @@ OpenBoot applies a curated set of developer-friendly macOS settings. These are a
9797
If you prefer your current settings:
9898

9999
```
100-
openboot --macos skip
100+
openboot install --macos skip
101101
```
102102

103103
See [Config Options](/docs/config-options) for the complete list of macOS preferences you can configure.

src/docs/env-vars.md

Lines changed: 20 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,71 +1,62 @@
11
---
22
title: Environment Variables
3-
description: All environment variables for the install script and CLI — version pinning, install directory, Git identity, and more.
3+
description: All environment variables the install script and openboot CLI understand.
44
group: Reference
55
order: 12
66
---
77

88
# Environment Variables
99

10-
All environment variables that control the install script and the `openboot` CLI.
10+
Every environment variable OpenBoot reads. Short list — v1.0 kept things minimal.
1111

12-
## Install Script Variables
12+
## Install script (`install.sh`)
1313

14-
These are used when running the `curl | bash` install command. The install script installs OpenBoot via Homebrew (`brew install openbootdotdev/tap/openboot`).
14+
Used when you run `curl -fsSL openboot.dev/install.sh | bash`. The script installs OpenBoot via Homebrew (`brew install openbootdotdev/tap/openboot`).
1515

1616
| Variable | Description | Default |
1717
|----------|-------------|---------|
18-
| `OPENBOOT_VERSION` | Install a specific version instead of latest | Latest release |
18+
| `OPENBOOT_VERSION` | Install a specific version instead of latest | `latest` |
1919
| `OPENBOOT_DRY_RUN` | Set to `true` to preview without changes ||
2020

21-
### Examples
22-
2321
Preview the install script without making changes:
2422

2523
```
2624
OPENBOOT_DRY_RUN=true curl -fsSL https://openboot.dev/install.sh | bash
2725
```
2826

29-
## CLI Variables
27+
## CLI (`openboot`)
3028

31-
These are used by the `openboot` binary at runtime.
29+
Used by the `openboot` binary at runtime.
3230

3331
| Variable | Description |
3432
|----------|-------------|
35-
| `OPENBOOT_GIT_NAME` | Git user name — **only read in `--silent` mode** (required if Git isn't configured) |
36-
| `OPENBOOT_GIT_EMAIL` | Git user email — **only read in `--silent` mode** (required if Git isn't configured) |
37-
| `OPENBOOT_PRESET` | Default preset to use (overridden by `--preset` flag) |
38-
| `OPENBOOT_USER` | Default remote config to use (overridden by `--user` flag) |
39-
| `OPENBOOT_DOTFILES` | Dotfiles repository URL (overridden by config's `dotfiles_repo`) |
40-
| `OPENBOOT_API_URL` | Override the API base URL (default: `https://openboot.dev`) |
41-
| `OPENBOOT_DISABLE_AUTOUPDATE` | Set to `1` to disable auto-update checks |
42-
43-
### Examples
33+
| `OPENBOOT_GIT_NAME` | Git user name — **read only in `--silent` mode** (required if Git isn't already configured) |
34+
| `OPENBOOT_GIT_EMAIL` | Git user email — **read only in `--silent` mode** (required if Git isn't already configured) |
35+
| `OPENBOOT_PRESET` | Default preset. Overridden by `-p` / `--preset` |
36+
| `OPENBOOT_USER` | Default cloud config (alias or `user/slug`). Overridden by `-u` / `--user` |
4437

4538
Silent install with Git identity:
4639

4740
```
4841
OPENBOOT_GIT_NAME="Your Name" OPENBOOT_GIT_EMAIL="you@example.com" \
49-
openboot --preset developer --silent
42+
openboot install --preset developer --silent
5043
```
5144

52-
Set a default preset so `openboot` always starts with it:
45+
Set a default preset so `openboot install` always starts with it:
5346

5447
```
5548
export OPENBOOT_PRESET=developer
56-
openboot # launches TUI with developer preset pre-selected
49+
openboot install # TUI opens with developer preset pre-selected
5750
```
5851

59-
## File Locations
52+
## File locations
6053

61-
These aren't environment variables, but useful to know:
54+
Not environment variables, but useful to know.
6255

63-
| Path | What's There |
56+
| Path | What's there |
6457
|------|-------------|
65-
| `~/.openboot/auth.json` | Auth token (after `openboot login` or snapshot upload) |
58+
| `~/.openboot/auth.json` | Auth token (after `openboot login` or publishing a snapshot) |
6659
| `~/.openboot/snapshot.json` | Local snapshot (when using `--local`) |
67-
| `~/.openboot/config.json` | Auto-update settings |
68-
| `~/.openboot/install_state.json` | Tracks what was installed and when |
69-
| `~/.openboot/state.json` | UI reminder state |
70-
| `~/.openboot/update_state.json` | Auto-update check state |
60+
| `~/.openboot/install_state.json` | What was installed on this machine, and when |
61+
| `~/.openboot/sync_source.json` | The cloud config this machine is synced to |
7162
| `~/.dotfiles/` | Cloned dotfiles repo (when configured) |

src/docs/faq.md

Lines changed: 33 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ order: 13
99

1010
## Is OpenBoot free?
1111

12-
Yes. Free and open source (MIT license). Create configs, snapshot your setup, share with your teamno cost. Team management features (org accounts, access controls) might have paid tiers later.
12+
Yes. Free and open source (MIT license). Create configs, snapshot your setup, share with your teamno cost. Team features (org accounts, access controls) may have paid tiers later.
1313

1414
## Why not just use Homebrew directly?
1515

@@ -19,32 +19,32 @@ If you're fine managing those separately, you don't need this. If you'd rather a
1919

2020
## Should I use Homebrew or the one-line installer?
2121

22-
**Use Homebrew** (`brew install openboot`) if you:
22+
**Use Homebrew** (`brew install openbootdotdev/tap/openboot`) if you:
2323
- Already have Homebrew installed
2424
- Want cleaner updates (`brew upgrade openboot`)
25-
- Prefer package managers and the OpenBoot CLI over ad-hoc scripts
25+
- Prefer package managers over ad-hoc scripts
2626

2727
**Use the one-line installer** if you:
2828
- Don't have Homebrew yet (it installs Homebrew for you)
2929
- Want the absolute fastest setup on a fresh Mac
30-
- Are running in CI/automation environments
30+
- Are running in CI / automation environments
3131

3232
Both methods install the exact same binary.
3333

3434
## Is the one-line installer safe?
3535

3636
Fair question. Here's how it works:
3737

38-
- Install script is open sourcereview it at [github.com/openbootdotdev/openboot](https://github.com/openbootdotdev/openboot)
38+
- Install script is open sourcereview it at [github.com/openbootdotdev/openboot](https://github.com/openbootdotdev/openboot/blob/main/scripts/install.sh)
3939
- Hosted on openboot.dev (Cloudflare Workers), served over HTTPS
40-
- Zero telemetryno analytics, no tracking, nothing phones home
40+
- Zero telemetryno analytics, no tracking, nothing phones home
4141
- Installs OpenBoot via Homebrew (`brew install openbootdotdev/tap/openboot`), which handles integrity verification
4242
- You can inspect the script before running it:
4343

4444
```bash
4545
curl -fsSL https://openboot.dev/install.sh > install.sh
46-
cat install.sh # Review the script
47-
bash install.sh # Run it after review
46+
cat install.sh
47+
bash install.sh
4848
```
4949

5050
If you prefer, install via Homebrew instead (see above).
@@ -54,18 +54,28 @@ If you prefer, install via Homebrew instead (see above).
5454
If you share a config publicly on the Explore page, we display an install count. This is **not telemetry** in the traditional sense:
5555

5656
- **Anonymous** — we don't track who installed it, only that someone did
57-
- **Opt-in** — only happens when you actively set visibility to "Public"
58-
- **No personal data** — no IP addresses, no user agents, no system info collected
59-
- **Zero tracking**we don't follow your behavior, clicks, or usage patterns
57+
- **Opt-in** — only happens when visibility is set to "Public"
58+
- **No personal data** — no IP addresses, no user agents, no system info
59+
- **Zero tracking**no behavior, clicks, or usage patterns
6060

61-
"Zero telemetry" means the OpenBoot CLI never reports back to us. It doesn't track what you install, what commands you run, or any system information. Install counts are simply a counter for configs you chose to share publicly with the community.
61+
"Zero telemetry" means the OpenBoot CLI never reports back to us. It doesn't track what you install, what commands you run, or any system information. Install counts are simply a counter for configs you chose to share publicly.
6262

63-
Think of it like GitHub's star count — it shows popularity, but doesn't track individual users.
63+
Think of it like GitHub's star count — shows popularity, doesn't track individuals.
6464

6565
## What if I already have Homebrew?
6666

6767
OpenBoot detects existing Homebrew installs and skips the setup. It also skips already-installed packages — only new ones get installed. Re-running is fast and safe.
6868

69+
## Does OpenBoot uninstall packages?
70+
71+
No — by design. As of v1.0, OpenBoot is add-only:
72+
73+
- `openboot install` never removes packages, even if they're not in the config you're installing from
74+
- There is no `openboot clean` or `openboot uninstall`
75+
- To remove something, run Homebrew directly: `brew uninstall <package>`
76+
77+
This makes re-running `openboot install` always safe — you never lose packages you added manually.
78+
6979
## Can I use it without an account?
7080

7181
Yes. No account needed for:
@@ -76,7 +86,7 @@ Yes. No account needed for:
7686

7787
An account (GitHub or Google OAuth) is needed to:
7888

79-
- Upload configs to openboot.dev and share them via URL
89+
- Publish configs to openboot.dev (`openboot snapshot --publish`)
8090
- Install private configs (run `openboot login` first)
8191

8292
## How do I update OpenBoot?
@@ -85,20 +95,16 @@ An account (GitHub or Google OAuth) is needed to:
8595
brew upgrade openboot
8696
```
8797

88-
Or use the built-in self-update:
98+
OpenBoot also does a lightweight auto-update check when you run `install`.
8999

90-
```bash
91-
openboot update --self
92-
```
100+
The old `openboot update --self` command was removed in v1.0 — use `brew upgrade` instead.
93101

94-
Your configs, snapshots, and auth tokens are unaffected by updates.
102+
Your configs, snapshots, and auth tokens are unaffected by upgrades.
95103

96104
## How do I uninstall OpenBoot?
97105

98106
### 1. Remove the binary
99107

100-
Both installation methods use Homebrew, so the uninstall is the same:
101-
102108
```bash
103109
brew uninstall openboot
104110
brew untap openbootdotdev/tap
@@ -110,22 +116,21 @@ brew untap openbootdotdev/tap
110116
rm -rf ~/.openboot
111117
```
112118

113-
This deletes your auth token, local snapshots, install state, and update config. If you want to keep anything, back it up first — see [File Locations](/docs/env-vars#file-locations) for what's in there.
119+
This deletes your auth token, local snapshots, install state, and sync source. See [File Locations](/docs/env-vars#file-locations) for what's in there if you want to keep something.
114120

115121
### 3. Clean up shell config (optional)
116122

117-
If OpenBoot configured your shell, open `~/.zshrc` and remove the block starting with `# OpenBoot additions` — it includes Homebrew init, PATH changes, CLI aliases, and tool integrations. If you're not sure which lines, look for the block between `# OpenBoot additions` and the next blank line or section.
123+
If OpenBoot configured your shell, open `~/.zshrc` and remove the block starting with `# OpenBoot additions` — it includes Homebrew init, PATH changes, CLI aliases, and tool integrations.
118124

119-
If you used dotfiles linking, OpenBoot created `.openboot.bak` backups of your original files. To restore them:
125+
If you used dotfiles linking, OpenBoot created `.openboot.bak` backups of your original files. To restore:
120126

121127
```bash
122-
# Example: restore a backed-up .zshrc
123128
mv ~/.zshrc.openboot.bak ~/.zshrc
124129
```
125130

126131
### 4. Packages and apps (optional)
127132

128-
OpenBoot doesn't remove Homebrew packages or casks when you uninstall it — they're yours to keep. If you want to remove packages that were installed via OpenBoot, use `brew uninstall <package>` individually.
133+
OpenBoot doesn't remove Homebrew packages when you uninstall it — they're yours to keep. To remove packages installed via OpenBoot, use `brew uninstall <package>` individually.
129134

130135
## Where is my data stored?
131136

@@ -134,7 +139,7 @@ OpenBoot doesn't remove Homebrew packages or casks when you uninstall it — the
134139
| Configs & user data | Cloudflare D1 on openboot.dev |
135140
| Auth token | `~/.openboot/auth.json` (local) |
136141
| Local snapshots | `~/.openboot/snapshot.json` (local) |
137-
| OpenBoot binary | Managed by Homebrew (run `which openboot` to find it) |
142+
| OpenBoot binary | Managed by Homebrew (`which openboot`) |
138143

139144
Configs are **unlisted** by default — not listed on your profile, but the install URL works if shared. You can set them to **public** (listed on profile) or **private** (requires authentication to install). See [Custom Configs — Visibility](/docs/custom-configs#visibility) for details.
140145

@@ -154,6 +159,6 @@ Not yet. OpenBoot is macOS-only. Linux support is being explored.
154159

155160
## Can I use it with my existing dotfiles?
156161

157-
Yes. Set your dotfiles repo URL in your config and OpenBoot will clone and link it with GNU Stow. See [Dotfiles & Shell](/docs/dotfiles-shell) for details.
162+
Yes. Set your dotfiles repo URL in your config and OpenBoot will clone and link it with GNU Stow. See [Dotfiles & Shell](/docs/dotfiles-shell).
158163

159164
Your existing dotfiles repo structure works as-is — OpenBoot doesn't require any special format.

0 commit comments

Comments
 (0)