diff --git a/README.md b/README.md index 48035b3..8996e89 100644 --- a/README.md +++ b/README.md @@ -2,12 +2,18 @@ Cross-machine synchronization for opencode AI configuration. -## Quick Start +## One-Click Install ### Windows (PowerShell) ```powershell -git clone $env:USERPROFILE\opencode-config +iwr -useb https://git.nomsg.cn/chaos/opencode-config/raw/branch/master/install.ps1 | iex +``` + +Or manually: + +```powershell +git clone https://git.nomsg.cn/chaos/opencode-config.git $env:USERPROFILE\opencode-config cd $env:USERPROFILE\opencode-config .\install.ps1 ``` @@ -15,7 +21,13 @@ cd $env:USERPROFILE\opencode-config ### macOS / Linux ```bash -git clone ~/.config/opencode-config +curl -fsSL https://git.nomsg.cn/chaos/opencode-config/raw/branch/master/install.sh | bash +``` + +Or manually: + +```bash +git clone https://git.nomsg.cn/chaos/opencode-config.git ~/.config/opencode-config cd ~/.config/opencode-config chmod +x install.sh ./install.sh