fastoc / service /opencode-service.sh
OpenCode Deployer
update
6c277ab
raw
history blame contribute delete
267 Bytes
#!/bin/bash
# # 将 /root/.config 目录及子目录下所有的 .md 文件权限修改为:644
# find /root/.config -type f -name "*.md" -exec chmod 644 {} \;
# 全局安装 OpenCode AI
npm install -g opencode-ai
# 验证安装
which opencode
opencode --version