Windows installs with no git: zip bootstrap, then the wizard installs git itself
The first field user hit the wall within the hour: fresh Windows box, no git, the clone silently failed and Claude Code improvised in an empty folder. The Windows one-liner now downloads the repo as a zip (Invoke-WebRequest and Expand-Archive ship with Windows), and Phase 0 gains the prerequisite step: check git, ask once, winget it, call it by full path for the rest of the session, and convert the zip folder into a real clone so updates work. Same ask-first doctrine as the Obsidian auto-install. TROUBLESHOOTING gains the failed-download entry.
This commit is contained in:
1 parent
08135b2048
commit
bc4f562323
3 files changed
+12
-2
No files matched your search
@@ -11,6 +11,10 @@ Ground rules, binding for the whole run:
|
||||
|
||||
## Phase 0: Find home, and find what already exists
|
||||
|
||||
**Prerequisite check, before anything else: git.** On Mac and Linux the install command arrives through git, so it exists. On Windows the install command downloads this repo as a ZIP on purpose, so it works on a machine with no git at all; that means git may be missing here, and the component installs below need it. Check with `git --version`. If it's missing, ask first, never silently: "One tool before we build: git, the free program that downloads and updates all the pieces. Want me to install it for you right now?" On a clear yes: `winget install --id Git.Git -e --source winget --silent --accept-package-agreements --accept-source-agreements`, then verify it landed. One gotcha you (the AI) must handle yourself: a terminal that was already open does not see freshly installed programs, so for the rest of THIS setup call git by its full path (`C:\Program Files\Git\cmd\git.exe`); every terminal opened after today finds `git` normally.
|
||||
|
||||
**Then, if this repo has no `.git` folder inside it** (it arrived as a zip): convert it into a real clone in place, so the update script can reach it forever after. Inside this folder: `git init -b main`, `git remote add origin https://github.com/jaredrhod/fullstack-agent`, `git fetch origin`, `git reset --hard origin/main`, `git branch --set-upstream-to=origin/main main`. Nothing the person sees changes; the folder just gains its connection to updates. Do this quietly and move on.
|
||||
|
||||
The agent's home is the folder CONTAINING this repo. Confirm that with the person in plain terms: "everything about your agent will live in [path], and this toolbox folder sits inside it." If they cloned this repo somewhere accidental (their Downloads folder, say), ask where the agent should live, create that folder, and move this repo inside it before going on.
|
||||
|
||||
Then look around the home folder and establish which situation you are in:
|
||||
|
||||
Reference in new issue
Block a user