You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fresh-install reliability fixes surfaced on marina@Mac install where
modern zsh-default macOS + just-installed brew/nvm couldn't be seen by
downstream curl|bash steps in the pipeline.
BUG A — mid-script PATH not re-sourced: install.sh now defines
reload_path() and refreshes brew shellenv + nvm + ~/.local/bin between
Step 1 and the downstream steps. Every child step + bonus + update.sh
has a defensive source_runtime_path() at the top so they also work
standalone.
BUG B — shell mismatch on modern macOS: step-1 now writes shell
integrations to BOTH .zshrc/.bashrc AND .zprofile/.bash_profile on
macOS, matching Homebrew's own install pattern. SHELL_RCS +
SHELL_PROFILES arrays replace the single SHELL_RC scalar. Linux
behavior preserved via getent passwd detection.
Files changed (14):
- install.sh — reload_path() + breadcrumb
mkdir + missing-step reporter
- step-1/step-1-install.sh — dual-shell integration + crumb
- step-2/step-2-install.sh — source_runtime_path + crumb
+ pipx for xlsx2csv (PEP 668)
- step-3/step-3-install.sh — source_runtime_path + crumb
+ memory self-test probe fix
- step-6/step-6-install.sh — source_runtime_path + crumb
- step-8/step-8-install.sh — source_runtime_path + crumb
- step-9/step-9-install.sh — source_runtime_path + crumb
+ claude nvm-glob fallback
- step-final/step-final-install.sh — source_runtime_path + crumb
+ cbrain in Optional section
- bonus-arc/bonus-arc.sh — source_runtime_path + crumb
- bonus-ghostty/bonus-ghostty.sh — source_runtime_path + crumb
- update.sh — source_runtime_path + refresh
- uninstall.sh — multi-shell cleanup (all 4 rcs)
- README.md — Troubleshooting section added
- CHEATSHEET.md — Reset PATH recovery block
Breadcrumbs land in ~/.cli-maxxing/step-N.done (+ ghostty.done,
arc.done). install.sh reports which expected crumbs are missing and
recommends a terminal-restart + re-run. step-6/step-8 crumbs are
intentionally excluded from the top-level report (those are invoked
separately by users, not direct children of install.sh).
Shellcheck clean at warning+. Security audit: no must-fix findings.
Co-Authored-By: claude-flow <ruv@ruv.net>
Copy file name to clipboardExpand all lines: CHEATSHEET.md
+38Lines changed: 38 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -236,6 +236,44 @@ These are available in your terminal after Step 3 installs the Ruflo CLI.
236
236
237
237
---
238
238
239
+
## Reset PATH (stuck install)
240
+
241
+
If you ran the installer, opened a fresh terminal, and `claude --version` still says "command not found" — your `~/.zshrc` is probably missing the lines that wire Homebrew, nvm, `~/.local/bin`, and the cli-maxxing aliases together. This is the exact block we used on marina@Mac to unstick her install. Paste it verbatim into your terminal — it creates `~/.zshrc` if it doesn't exist, appends the four things that need to be on PATH, then sources it and verifies `claude` works.
242
+
243
+
```bash
244
+
cat >~/.zshrc <<'EOF'
245
+
# Homebrew (Apple Silicon default; also works on Intel via brew --prefix)
# User-local binaries (cbrain, ctg, cbraintg land here)
258
+
export PATH="$HOME/.local/bin:$PATH"
259
+
260
+
# cli-maxxing aliases
261
+
alias cskip='claude --dangerously-skip-permissions'
262
+
alias cc='claude'
263
+
alias ccr='claude --resume'
264
+
alias ccc='claude --continue'
265
+
EOF
266
+
267
+
source~/.zshrc
268
+
claude --version
269
+
```
270
+
271
+
**What to expect:**`claude --version` should print something like `2.1.112 (Claude Code)`. If it does, you're unstuck — close this terminal, open a fresh one, and continue from where you left off. If it still errors, the issue is upstream of PATH (Claude Code itself didn't install, or Node is broken) — paste the error into a `cskip` session and Claude can diagnose.
272
+
273
+
> **Using bash instead of zsh?** Swap `~/.zshrc` for `~/.bashrc` in the block above. Everything else is identical.
274
+
275
+
---
276
+
239
277
## Tips
240
278
241
279
- Claude remembers context within a session. If it's getting confused, use `/compact` to reset.
Copy file name to clipboardExpand all lines: README.md
+67-11Lines changed: 67 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -203,25 +203,21 @@ When Claude is running in any terminal, you can press **Shift+Tab** to switch be
203
203
204
204
After the script finishes, you need to activate the tools that were just installed. Do these three things in order:
205
205
206
-
**1. Reload your shell config** — copy and paste this, then hit Enter:
206
+
**1. Close this terminal and open a new one.**
207
207
208
-
```bash
209
-
source~/.zshrc
210
-
```
211
-
212
-
> On Linux or if you use bash, run `source ~/.bashrc` instead.
208
+
This is the most important step. Homebrew, nvm, and the new shell aliases only load when a fresh shell starts. If you skip this, `claude` and `cskip` won't be found even though they're installed. Fully close the Terminal window (Cmd+Q on Mac works too) and open a new one.
213
209
214
-
**2. Close the terminal window and reopen it.**
215
-
216
-
**3. Verify Claude is working:**
210
+
**2. Verify Claude is working** — in the new terminal, run:
217
211
218
212
```bash
219
213
claude --version
220
214
```
221
215
222
-
If you see a version number, you're good. If not, repeat steps 1 and 2.
216
+
You should see a version number like `2.1.112 (Claude Code)`. If you see that, you're good.
217
+
218
+
> If `claude --version` says "command not found," try `source ~/.zshrc` (or `source ~/.bashrc` if you're on Linux or still using bash). macOS uses zsh by default since Catalina, so `.zshrc` is almost always the right one. If that still doesn't work, see the [Troubleshooting](#troubleshooting) section below — specifically "I ran the installer but `claude` command is not found."
223
219
224
-
**4. Exit and switch to auto-approve mode:**
220
+
**3. Exit and switch to auto-approve mode:**
225
221
226
222
Press **Ctrl+C** to exit Claude, then run `cskip` to continue with auto-approve mode (Claude runs without asking permission for each action). This is the recommended way to work through the remaining setup steps.
227
223
@@ -1009,6 +1005,66 @@ Setup is complete. Head to **[You're Ready](#youre-ready)** below for your daily
1009
1005
1010
1006
[Back to top](#quick-nav)
1011
1007
1008
+
### I ran the installer but `claude` command is not found
1009
+
1010
+
First install has a catch: the installer adds Homebrew, nvm, and the shell aliases to your config files, but those only load when a brand new shell starts. On top of that, the script may have been running in bash while your default shell on modern macOS is zsh — so even `source`-ing the file the script wrote can miss.
1011
+
1012
+
**Fix:**
1013
+
1. Fully close the terminal window (Cmd+Q on Mac works too).
1014
+
2. Open a fresh terminal.
1015
+
3. Run `claude --version`. You should see something like `2.1.112 (Claude Code)`.
1016
+
1017
+
If it's still missing after a fresh terminal, paste the **Reset PATH (stuck install)** block from [CHEATSHEET.md](CHEATSHEET.md#reset-path-stuck-install) — it rewires `~/.zshrc` with Homebrew shellenv, nvm, `~/.local/bin`, and the four aliases in one shot.
1018
+
1019
+
### Some steps say "Homebrew not found" during install
1020
+
1021
+
Step 1 installs Homebrew mid-pipeline and the downstream steps in the same shell session don't see it yet — the installer hadn't refreshed PATH for subsequent commands. Known issue, fixed 2026-04-17.
1022
+
1023
+
**Fix:** close the terminal, open a fresh one, and re-run the installer:
### I see the zsh/bash shell prompt change after install
1030
+
1031
+
The installer detects your default shell and writes integrations accordingly. On modern macOS, zsh is the default even if `/etc/passwd` still says bash (Terminal.app overrides passwd with the "default login shell" preference), so you may notice your prompt looks different after a fresh terminal.
1032
+
1033
+
**Fix:** confirm which shell you're actually in:
1034
+
```bash
1035
+
echo$SHELL
1036
+
```
1037
+
If you want your passwd entry to match what Terminal.app uses, run:
1038
+
```bash
1039
+
chsh -s /bin/zsh
1040
+
```
1041
+
This is optional — everything works fine either way. The installer writes to both `~/.zshrc` and `~/.bashrc` so both shells pick up the aliases.
1042
+
1043
+
### xlsx2csv failed to install
1044
+
1045
+
Python 3.9 (the macOS default) ships with PEP 668 restrictions that block `pip install` into the system Python. The installer now uses `pipx` to work around this.
This removes the cli-maxxing aliases (`cskip`, `cc`, `ccr`, `ccc`), the `ctg`/`cbrain`/`cbraintg` scripts in `~/.local/bin/`, all MCP servers, skills, and breadcrumbs this setup dropped. See the [Uninstall](#uninstall) section below for the full list.
1065
+
1066
+
It does **not** remove Homebrew, nvm, Node.js, or Claude Code itself — those are general-purpose tools you might use outside of cli-maxxing. The uninstall script will show you how to remove them manually if you want a completely clean machine.
1067
+
1012
1068
### Telegram: pressing Enter skips setup
1013
1069
1014
1070
This is intentional. If you press Enter without pasting a token, the script skips Telegram setup and continues. You can always re-run Step 8 later when you have your bot token ready.
0 commit comments