Skip to content

Commit aed6c8f

Browse files
committed
add cursor agent
1 parent f31c311 commit aed6c8f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

install-ai-agent.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ npm install -g @fission-ai/openspec@latest
88
export HOME=/opt/cursor
99
curl https://cursor.com/install -fsS | bash
1010

11-
mkdir /opt/bin
12-
cp -rf /opt/cursor/.local/bin/agent /opt/bin/agent
13-
cp -rf /opt/cursor/.local/bin/cursor-agent /opt/bin/cursor-agent
11+
mkdir -p /opt/bin
12+
cp -rf /opt/cursor/.local/bin/agent /opt/bin
13+
cp -rf /opt/cursor/.local/bin/cursor-agent /opt/bin
1414

1515
# 全局配置
1616
echo "prefix=/root/.npm-packages" > /opt/node/lib/node_modules/npm/npmrc

0 commit comments

Comments
 (0)