Add claude-code and codex-cli AI tools installer to ci/#3
Draft
Add claude-code and codex-cli AI tools installer to ci/#3
Conversation
Co-authored-by: nexusct <[email protected]> Agent-Logs-Url: https://github.com/nexusct/1Panel/sessions/d24a0fb0-e94c-4043-bcc1-1a20726efa5f
Copilot
AI
changed the title
[WIP] Add support for installing claude-code and codex-cli
Add claude-code and codex-cli AI tools installer to ci/
Mar 23, 2026
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.
Adds a standalone installer script for Anthropic's
claude-codeand OpenAI'scodex-cliCLI tools, wired into the existingci/script.shbootstrap flow.New:
ci/install_ai_tools.sh@anthropic-ai/claude-code→claudebinary@openai/codex→codexbinaryPATHUpdated:
ci/script.shMarks
install_ai_tools.shexecutable when co-located, making it available in CI/build pipelines without a separate step:Original prompt
Overview
Add support for installing claude-code (Anthropic Claude Code CLI) and codex-cli (OpenAI Codex CLI) as part of the 1Panel installation script process.
Background
The 1Panel installer lives in
ci/script.sh(which downloads assets from1Panel-dev/installer) and the main install logic is in the downloadedinstall.sh. We need to add a new shell script in the repository that handles installing these two AI coding CLI tools.What to do
Create a new file
ci/install_ai_tools.shin the repository with functions to install both tools. Also updateci/script.shto reference/call this new script if appropriate.ci/install_ai_tools.shCreate this new file with the following content and logic:
Update
ci/script.shIn
ci/script.sh, after the existing downloads complete (after thechmod 755 1pctl install.shline), source or reference the new AI tools script so it is available in CI/build pipelines. Add the following at the end of the file (before the finalchmodline or after it):Install commands reference
@anthropic-ai/claude-codeclaude@openai/codexcodexBoth require Node.js 18+.
Notes
This pull request was created from Copilot chat.
📍 Connect Copilot coding agent with Jira, Azure Boards or Linear to delegate work to Copilot in one click without leaving your project management tool.