Skip to content

userpatches: pre-install tig, nodejs and Claude Code CLI host-side#17

Merged
igorpecovnik merged 1 commit into
mainfrom
add-tig-nodejs
May 10, 2026
Merged

userpatches: pre-install tig, nodejs and Claude Code CLI host-side#17
igorpecovnik merged 1 commit into
mainfrom
add-tig-nodejs

Conversation

@igorpecovnik
Copy link
Copy Markdown
Member

@igorpecovnik igorpecovnik commented May 8, 2026

Summary

Build-time additions to userpatches/customize-image.sh so the SDK image ships with these ready on the host:

  • tig — TUI git history / log / blame browser; useful in any terminal.
  • nodejs + npm — host-side JS runtime + package manager for tooling people want to run from the shell.
  • @anthropic-ai/claude-code — installed globally with npm install -g, so claude is on the armbian user's PATH from a plain SSH session.

Relationship to provisioning.sh

provisioning.sh already installs Claude Code inside the code-server container at first boot, so it appears in the IDE's integrated terminal. This PR additionally installs it on the host so a regular SSH session into the VM also has it available. The two installs are independent — no shared state.

Test plan

  • Boot the SDK image. which tig, which node, which npm, which claude all resolve on the host.
  • claude --version works without first asking the user to install anything.
  • code-server's integrated terminal still has its own claude (installed by provisioning.sh inside the container).
  • Image stays under GitHub's 2 GiB per-asset release cap.

tig — TUI git history browser, useful from the integrated terminal
in code-server.
nodejs — runtime for any JS-based dev tooling the user wants to
run from the shell (the code-server container has its own bundled
node for extensions; this is host-side only).
@igorpecovnik igorpecovnik changed the title userpatches: pre-install tig and nodejs userpatches: pre-install tig, nodejs and Claude Code CLI host-side May 8, 2026
@igorpecovnik igorpecovnik merged commit 65f1bc2 into main May 10, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant