Skip to content

fix: create CLI installation parent directory - #157

Open
manvesh wants to merge 1 commit into
mainfrom
codex/fix-cli-install-parent-directory
Open

fix: create CLI installation parent directory#157
manvesh wants to merge 1 commit into
mainfrom
codex/fix-cli-install-parent-directory

Conversation

@manvesh

@manvesh manvesh commented Sep 11, 2026

Copy link
Copy Markdown

Problem

Fresh installations fail at mv when ~/.local/share does not exist. The installer creates only ~/.local/bin before moving the extracted CLI into ~/.local/share/parallel-cli.

Solution

Create the parent of INSTALL_DIR alongside BIN_DIR with mkdir -p, which also succeeds when the directories already exist. This is the source copied into the release asset served by https://parallel.ai/install.sh; the fix takes effect there when a release publishes the updated installer.

Testing

  • bash -n install-cli.sh
  • git diff --check
  • ⚠️ Full download/install flow not run.

@manvesh
manvesh requested a review from a team September 11, 2026 23:39
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.

2 participants