docs: add one-click install commands to README
This commit is contained in:
@@ -2,12 +2,18 @@
|
|||||||
|
|
||||||
Cross-machine synchronization for opencode AI configuration.
|
Cross-machine synchronization for opencode AI configuration.
|
||||||
|
|
||||||
## Quick Start
|
## One-Click Install
|
||||||
|
|
||||||
### Windows (PowerShell)
|
### Windows (PowerShell)
|
||||||
|
|
||||||
```powershell
|
```powershell
|
||||||
git clone <your-repo-url> $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
|
cd $env:USERPROFILE\opencode-config
|
||||||
.\install.ps1
|
.\install.ps1
|
||||||
```
|
```
|
||||||
@@ -15,7 +21,13 @@ cd $env:USERPROFILE\opencode-config
|
|||||||
### macOS / Linux
|
### macOS / Linux
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git clone <your-repo-url> ~/.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
|
cd ~/.config/opencode-config
|
||||||
chmod +x install.sh
|
chmod +x install.sh
|
||||||
./install.sh
|
./install.sh
|
||||||
|
|||||||
Reference in New Issue
Block a user