userpatches: pre-install tig, nodejs and Claude Code CLI host-side#17
Merged
Conversation
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).
907404b to
a896aae
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Build-time additions to
userpatches/customize-image.shso the SDK image ships with these ready on the host:@anthropic-ai/claude-code— installed globally withnpm install -g, soclaudeis on thearmbianuser's PATH from a plain SSH session.Relationship to provisioning.sh
provisioning.shalready 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
which tig,which node,which npm,which claudeall resolve on the host.claude --versionworks without first asking the user to install anything.claude(installed by provisioning.sh inside the container).