docs: fix markdownlint fragments + headings

This commit is contained in:
Peter Steinberger
2026-02-06 15:45:39 -08:00
parent d898ad6807
commit 5163833be5
4 changed files with 36 additions and 35 deletions

View File

@@ -11,11 +11,11 @@ title: "Installer Internals"
OpenClaw ships three installer scripts, served from `openclaw.ai`.
| Script | Platform | What it does |
| ----------------------------------- | -------------------- | -------------------------------------------------------------------------------------------- |
| [`install.sh`](#install-sh) | macOS / Linux / WSL | Installs Node if needed, installs OpenClaw via npm (default) or git, and can run onboarding. |
| [`install-cli.sh`](#install-cli-sh) | macOS / Linux / WSL | Installs Node + OpenClaw into a local prefix (`~/.openclaw`). No root required. |
| [`install.ps1`](#install-ps1) | Windows (PowerShell) | Installs Node if needed, installs OpenClaw via npm (default) or git, and can run onboarding. |
| Script | Platform | What it does |
| ---------------------------------- | -------------------- | -------------------------------------------------------------------------------------------- |
| [`install.sh`](#installsh) | macOS / Linux / WSL | Installs Node if needed, installs OpenClaw via npm (default) or git, and can run onboarding. |
| [`install-cli.sh`](#install-clish) | macOS / Linux / WSL | Installs Node + OpenClaw into a local prefix (`~/.openclaw`). No root required. |
| [`install.ps1`](#installps1) | Windows (PowerShell) | Installs Node if needed, installs OpenClaw via npm (default) or git, and can run onboarding. |
## Quick commands
@@ -64,7 +64,7 @@ If install succeeds but `openclaw` is not found in a new terminal, see [Node.js
Recommended for most interactive installs on macOS/Linux/WSL.
</Tip>
### Flow
### Flow (install.sh)
<Steps>
<Step title="Detect OS">
@@ -98,7 +98,7 @@ If no TTY is available and no install method is set, it defaults to `npm` and wa
The script exits with code `2` for invalid method selection or invalid `--install-method` values.
### Examples
### Examples (install.sh)
<Tabs>
<Tab title="Default">
@@ -171,7 +171,7 @@ The script exits with code `2` for invalid method selection or invalid `--instal
Designed for environments where you want everything under a local prefix (default `~/.openclaw`) and no system Node dependency.
</Info>
### Flow
### Flow (install-cli.sh)
<Steps>
<Step title="Install local Node runtime">
@@ -185,7 +185,7 @@ Designed for environments where you want everything under a local prefix (defaul
</Step>
</Steps>
### Examples
### Examples (install-cli.sh)
<Tabs>
<Tab title="Default">
@@ -245,7 +245,7 @@ Designed for environments where you want everything under a local prefix (defaul
## install.ps1
### Flow
### Flow (install.ps1)
<Steps>
<Step title="Ensure PowerShell + Windows environment">
@@ -263,7 +263,7 @@ Designed for environments where you want everything under a local prefix (defaul
</Step>
</Steps>
### Examples
### Examples (install.ps1)
<Tabs>
<Tab title="Default">