Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions apps/vscode-cloud/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,12 @@ RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash - \
&& apt-get install -y --no-install-recommends nodejs \
&& rm -rf /var/lib/apt/lists/*

# ── Bun ───────────────────────────────────────────────────────────────────────
# Installed system-wide (BUN_INSTALL=/usr/local) so it's on PATH for every user,
# same as the npm globals below via NPM_CONFIG_PREFIX.
RUN curl -fsSL https://bun.sh/install | BUN_INSTALL=/usr/local bash \
&& chmod -R a+rx /usr/local/bin/bun

# ── Global npm tools ──────────────────────────────────────────────────────────
# AI coding CLIs + TypeScript + language servers for VS Code IntelliSense
ENV NPM_CONFIG_PREFIX=/usr/local
Expand Down
2 changes: 1 addition & 1 deletion packages/server-shell-setup/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ wget -qO- tinyurl.com/shellsetup | bash -s -- starship,docker,node
| `nushell` | Data-oriented shell that handles structured data natively |
| `nvim` | Neovim with [NvChad](https://nvchad.com) config pre-installed |
| `helix` | Modal terminal editor written in Rust, no config needed |
| `node` | Node.js via [Volta](https://volta.sh) version manager (no sudo issues); also installs pnpm, yarn, git0, vite, turbo |
| `node` | Node.js via [Volta](https://volta.sh) version manager (no sudo issues); also installs pnpm, yarn, git0, vite, turbo, and bun |
| `bun` | Fast JavaScript runtime, bundler, and package manager |
| `docker` | Docker with rootless mode enabled |
| `starship` | Cross-shell prompt configured for bash, fish, and nushell |
Expand Down
8 changes: 7 additions & 1 deletion packages/server-shell-setup/install-shell.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# - nushell: Data-oriented shell with structured data handling
# - nvim: Neovim text editor with NvChad configuration
# - helix: Modern terminal-based text editor with Rust
# - node: Node.js via Volta version manager
# - node: Node.js via Volta version manager (also installs bun)
# - bun: Fast JavaScript runtime, bundler, transpiler and package manager
# - pacstall: Package manager for Debian/Ubuntu (like AUR for Arch)
# - docker: Docker container platform with rootless mode
Expand Down Expand Up @@ -938,6 +938,12 @@ install_components() {
# Always install base dependencies
install_base_deps

# Bun pairs with Node.js; make sure it's installed whenever Node.js is,
# even if "node" was selected on its own rather than via "all"
if [[ " ${COMPONENTS[*]} " == *" node "* ]] && [[ " ${COMPONENTS[*]} " != *" bun "* ]]; then
COMPONENTS+=("bun")
fi

# Install selected components
for component in "${COMPONENTS[@]}"; do
case "$component" in
Expand Down
Loading