Article ID Code:GK-SYS-14
System Environment: Windows 11
#Prerequisites
The computer system login name must be in plain English only. special symbols are prohibited; otherwise, installation or operation may encounter abnormalities.
## I. Install Dependencies
1.Node.js
Download link: https://nodejs.org/en/download
In the standalone diagram, at the location indicated by the red box, download the Node.js installation package.
- Double-click the installation package and use the default “Next” option throughout the process.
- Key check: In the installation interface, you must select “Automatically install the necessary tools” (to automatically install the native module compilation tools and avoid subsequent errors);
- No additional configuration is required after installation; it automatically adds to the system environment variables.
Select “yes”
2. Git
Download: https://git-scm.com/install/windows, select the download link pointed to by the red arrow.
- Double-click the installation package and use the default “Next” option throughout the process.
- During installation, select the corresponding options as indicated on the interface; leave all other settings at their defaults.
- After installation, it supports direct invocation via PowerShell.
3.Install OpenClaw
Operational Prerequisites
Open PowerShell as an administrator, then execute the following commands in sequence.
A.Check whether the dependencies have been installed successfully:
- node -v git -v
-
B.Set the execution policy and grant PowerShell permission to run scripts:
- Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
- Restart the computer
C.Install the latest version of OpenClaw
Open PowerShell as an administrator, then execute the following commands in sequence.
- irm https://openclaw.ai/install.ps1 | iex
-
Follow the wizard:
|Step|Action|
|------|------|
| Risk Warning | Select Yes
|ConfigurationMode|QuickStart|
|Model Provider| Choose your API provider (OpenRouter/Moonshot/DeepSeek/ZI.AI, etc.)|
|API option, select API within China or ai
| API Key | Paste your Key |
|Model|Select a specific model; if there are no special requirements, just use the default setting.|
|Select the channel, or skip for now
|Search for suppliers, skip if necessary
|Configure skills now (optional)|Skip it
|Authorized node—after selecting with a space, press Enter to skip
| Select Open the web UI |
--Once done, choose 'Open the Web UI' and send a test message to verify the installation
Common Commands
```powershell
#View status
openclaw gateway status
#View logs
openclaw logs --follow
#Restart Gateway
openclaw gateway restart
---
## Frequently Asked Questions
|Problem|Solution|
|------|------|
|npm script execution error|`Set-ExecutionPolicy RemoteSigned -Scope CurrentUser -Force`|
| Git/CMake error | First install the corresponding software |
|Installation failed—reinstall| Reinstall after running `npm cache clean --force` |
---
## Resource Links
-OpenClaw Skill: clawhub.ai
- OpenClaw documentation: https://docs.openclaw.ai
- OpenRouter (free model): https://openrouter.ai
Comments
0 comments
Article is closed for comments.