File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22set -ex
33
44# openspec
5- echo " prefix=/opt/npm" > /opt/node/lib/node_modules/npm/npmrc
6- npm install -g @fission-ai/openspec@latest
5+ # echo "prefix=/opt/npm" > /opt/node/lib/node_modules/npm/npmrc
6+ # npm install -g @fission-ai/openspec@latest
77
88# cursor cli
9- export HOME=/opt/cursor
10- curl https://cursor.com/install -fsS | bash
9+ # export HOME=/opt/cursor
10+ # curl https://cursor.com/install -fsS | bash
1111
1212mkdir -p /opt/bin
13- cp -rf /opt/cursor/.local/bin/agent /opt/npm/bin
14- cp -rf /opt/cursor/.local/bin/cursor-agent /opt/npm/bin
13+ # cp -rf /opt/cursor/.local/bin/agent /opt/npm/bin
14+ # cp -rf /opt/cursor/.local/bin/cursor-agent /opt/npm/bin
15+
16+ # opencode
17+ # OPENCODE_VERSION="v1.14.21"
18+ # curl -fsSL "https://github.com/anomalyco/opencode/releases/download/${OPENCODE_VERSION}/opencode-linux-x64.tar.gz" | tar -xz -C /opt/bin/
1519
1620# 全局配置
1721echo " prefix=/root/.npm-packages" > /opt/node/lib/node_modules/npm/npmrc
You can’t perform that action at this time.
0 commit comments