Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

[FEATURE] Allow to bypass setup step in native install bootstrap script (bootstrap.sh)

Aperta Adatta ai principianti
#106,145 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
73/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
bash, typescript
Ambito
cli

Direzione di ricerca

L’issue indica lo script di bootstrap nativo all’indirizzo https://downloads.claude.ai/claude-code-releases/bootstrap.sh, raggiunto tramite https://claude.ai/install.sh. Leggi lo script nelle parti relative ai passaggi di installazione dell’eseguibile e di pulizia, poi verifica come vengono gestite le variabili d’ambiente. Il lavoro è completato quando la variabile proposta salta entrambi i passaggi se impostata, mentre download e verifica continuano a essere eseguiti.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

area:installation enhancement
Preflight Checklist
  • I have searched existing requests and this feature hasn't been requested yet
  • This is a single feature request (not multiple features)
Problem Statement

Problem Statement

Some users or tool managers or install scripts need to manage Claude Code's executable and environment themselves.

  • Installing Claude Code in an isolated, application-managed directory.
  • Support alternative tree folders system/home layouts.
  • Managing PATH and launchers independently.
  • Avoiding changes to the user's existing Claude Code installation or home-directory layout.
  • Preparing binaries for CI environments, containers, or offline deployment.
Proposed Solution

Proposed solution

Please add an environment variable to the native installation script:

To bypass the setup/install last step of this script, which manage link creation and PATH for the system. For example, CLAUDE_INSTALL_DOWNLOAD_ONLY=1 would download and verify the Claude Code executable without running the last installation step.

Current behavior

The bootstrap script currently:

  1. Resolves the latest bootstrap version.

  2. Detects the platform and architecture.

  3. Downloads and verifies the executable.

  4. Makes the executable runnable.

  5. Runs:

    "$binary_path" install ${TARGET:+"$TARGET"}
    
  6. Removes the downloaded executable:

    rm -f "$binary_path"
    

Proposed behavior

The bootstrap script would:

  1. Resolves the latest bootstrap version.

  2. Detects the platform and architecture.

  3. Downloads and verifies the executable.

  4. Makes the executable runnable.

  5. Only if CLAUDE_INSTALL_DOWNLOAD_ONLY is not set, runs:

    "$binary_path" install ${TARGET:+"$TARGET"}
    
  6. Only if CLAUDE_INSTALL_DOWNLOAD_ONLY is not set, removes the downloaded executable.

Priority

High - Significant impact on productivity

Feature Category

Configuration and settings

Additional Context

Thank you !

Lingua principale
TypeScript
Stelle
154k
Fork
26.1k
Merge medio
23h 5m
PR unite (30g)
8

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

  • Nessun Dockerfile né file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di anthropics/claude-code

Tutte le issue di anthropics/claude-code

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.