We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f31c311 commit aed6c8fCopy full SHA for aed6c8f
1 file changed
install-ai-agent.sh
@@ -8,9 +8,9 @@ npm install -g @fission-ai/openspec@latest
8
export HOME=/opt/cursor
9
curl https://cursor.com/install -fsS | bash
10
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
+mkdir -p /opt/bin
+cp -rf /opt/cursor/.local/bin/agent /opt/bin
+cp -rf /opt/cursor/.local/bin/cursor-agent /opt/bin
14
15
# 全局配置
16
echo "prefix=/root/.npm-packages" > /opt/node/lib/node_modules/npm/npmrc
0 commit comments