Skip to content

πŸ’« Toolkit to help you get started with SDD or any other process!

chore: replace `bun` by `node/npm` in the `devcontainer` (as many CLI-based agents actually require a `node` runtime)

Tine Kondo71c2c63d555e
diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json
index 00d676cd8..caf184c1c 100644
--- a/.devcontainer/devcontainer.json
+++ b/.devcontainer/devcontainer.json
@@ -20,6 +20,9 @@
"ghcr.io/devcontainers/features/git:1": {
"ppa": true,
"version": "latest"
+ },
+ "ghcr.io/devcontainers/features/node": {
+ "version": "lts"
}
},
diff --git a/.devcontainer/post-create.sh b/.devcontainer/post-create.sh
index dd5180646..9608a28a3 100755
--- a/.devcontainer/post-create.sh
+++ b/.devcontainer/post-create.sh
@@ -21,43 +21,34 @@ run_command() {
fi
}
-# Note: We use Bun (instead of npm) as our package manager for its speed and overall efficiency
-# It is a drop-in replacement for Node.js, so we can install npm packages through it without issues
-echo "πŸ“¦ Installing Bun Package Manager..."
-run_command "curl -fsSL https://bun.sh/install | bash"
-echo "βœ… Done"
-
-export BUN_INSTALL="$HOME/.bun"
-export PATH="$BUN_INSTALL/bin:$PATH"
-
# Installing CLI-based AI Agents
echo -e "\nπŸ€– Installing Copilot CLI..."
-run_command "bun add --global @github/copilot@latest"
+run_command "npm install -g @github/copilot@latest"
echo "βœ… Done"
echo -e "\nπŸ€– Installing Claude CLI..."
-run_command "bun add --global @anthropic-ai/claude-code@latest"
+run_command "npm install -g @anthropic-ai/claude-code@latest"
echo "βœ… Done"
echo -e "\nπŸ€– Installing Codex CLI..."
-run_command "bun add --global @openai/codex@latest"
+run_command "npm install -g @openai/codex@latest"
echo "βœ… Done"
echo -e "\nπŸ€– Installing Gemini CLI..."
-run_command "bun add --global @google/gemini-cli@latest"
+run_command "npm install -g @google/gemini-cli@latest"
echo "βœ… Done"
echo -e "\nπŸ€– Installing Augie CLI..."
-run_command "bun add --global @augmentcode/auggie@latest"
+run_command "npm install -g @augmentcode/auggie@latest"
echo "βœ… Done"
echo -e "\nπŸ€– Installing Qwen Code CLI..."
-run_command "bun add --global @qwen-code/qwen-code@latest"
+run_command "npm install -g @qwen-code/qwen-code@latest"
echo "βœ… Done"
echo -e "\nπŸ€– Installing OpenCode CLI..."
-run_command "bun add --global opencode-ai@latest"
+run_command "npm install -g opencode-ai@latest"
echo "βœ… Done"
echo -e "\nπŸ€– Installing Amazon Q CLI..."
@@ -89,7 +80,7 @@ run_command "rm -rf ./q q.zip q.zip.sig amazonq-public-key.asc"
echo "βœ… Done"
echo -e "\nπŸ€– Installing CodeBuddy CLI..."
-run_command "bun add --global @tencent-ai/codebuddy-code@latest"
+run_command "npm install -g @tencent-ai/codebuddy-code@latest"
echo "βœ… Done"
# Installing UV (Python package manager)
diff --git a/AGENTS.md b/AGENTS.md
index 40c187ac0..492603cd5 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -271,7 +271,7 @@ For agents that require CLI tools, add installation commands to `.devcontainer/p
# Existing installations...
echo -e "\nπŸ€– Installing [New Agent Name] CLI..."
-# run_command "bun add --global [agent-cli-package]@latest" # Example for node-based CLI
+# run_command "npm install -g [agent-cli-package]@latest" # Example for node-based CLI
# or other installation instructions (must be non-interactive and compatible with Linux Debian "Trixie" or later)...
echo "βœ… Done"