Skip to content

Commit f3436c6

Browse files
docs: replace manual cp commands with /install-global in Quick Start step 2
Step 2 now shows /install-global as the primary method with manual commands collapsed in a details/summary for users who prefer that. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 5b88965 commit f3436c6

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

docs/index.html

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -274,15 +274,18 @@ <h3>Clone and Customize</h3>
274274
<div class="step-number">2</div>
275275
<div class="step-content">
276276
<h3>Set Up Global Config (One Time)</h3>
277-
<pre class="language-bash"><code class="language-bash"># Copy global CLAUDE.md and settings to your home directory
278-
cp global-claude-md/CLAUDE.md ~/.claude/CLAUDE.md
277+
<pre class="language-bash"><code class="language-bash"># Run the install command — smart merges into existing config
278+
/install-global</code></pre>
279+
<p>This installs global CLAUDE.md rules, settings.json hooks, and enforcement scripts (<code>block-secrets.py</code>, <code>verify-no-secrets.sh</code>, <code>rulecatch-check.sh</code>) into <code>~/.claude/</code>. If you already have a global config, it merges without overwriting.</p>
280+
<details>
281+
<summary>Manual setup (if you prefer)</summary>
282+
<pre class="language-bash"><code class="language-bash">cp global-claude-md/CLAUDE.md ~/.claude/CLAUDE.md
279283
cp global-claude-md/settings.json ~/.claude/settings.json
280-
281-
# Copy hooks for global enforcement
282284
mkdir -p ~/.claude/hooks
283285
cp .claude/hooks/block-secrets.py ~/.claude/hooks/
284286
cp .claude/hooks/verify-no-secrets.sh ~/.claude/hooks/
285287
cp .claude/hooks/rulecatch-check.sh ~/.claude/hooks/</code></pre>
288+
</details>
286289
</div>
287290
</div>
288291

0 commit comments

Comments
 (0)