claudecodeui icon indicating copy to clipboard operation
claudecodeui copied to clipboard

How to change the 3001 port to any port?

Open springli07 opened this issue 11 months ago • 3 comments

How to change the 3001 port to any port?

springli07 avatar Dec 23 '25 14:12 springli07

📝 CodeRabbit Plan Mode

Generate an implementation plan and prompts that you can use with your favorite coding agent.

  • [ ] Create Plan
Examples

🧪 Issue enrichment is currently in open beta.

You can configure auto-planning by selecting labels in the issue_enrichment configuration.

To disable automatic issue enrichment, add the following to your .coderabbit.yaml:

issue_enrichment:
  auto_enrich:
    enabled: false

💬 Have feedback or questions? Drop into our discord or schedule a call!

coderabbitai[bot] avatar Dec 23 '25 14:12 coderabbitai[bot]

Locate your Node.js installation directory (~.nvm\versions\node\v22.21.1\lib\node_modules@siteboon\claude-code-ui), create a .env file, copy the contents of this project's .env.example file, and modify the port number.

~.nvm\versions\node\v22.21.1\lib\node_modules@siteboon\claude-code-ui.env file Example as follows:

PORT=3002
VITE_PORT=5173
VITE_CONTEXT_WINDOW=160000
CONTEXT_WINDOW=160000

Then run claude-code-ui status

Image

SAIL-Fang avatar Dec 26 '25 03:12 SAIL-Fang

@springli07 we have now added the port as variable when using the cli commands. Check the readme

viper151 avatar Jan 05 '26 18:01 viper151