Script fails with 'permission denied'
Script fails with 'permission denied'
Cause: The shell scripts in Orchard must be executable. If you cloned the repository and the execute bit was not preserved, macOS will refuse to run the scripts.Fix: Make the script executable before running it.To fix To fix an individual module’s install script (replace To make all install scripts executable at once:After running
provision.sh:<module> with the module directory name):chmod, retry your original command.Homebrew installation fails
Homebrew installation fails
Cause: The
brew module downloads and runs the official Homebrew installer from the internet. If your machine has no internet access, or if Apple’s Command Line Developer Tools are not installed, the installer will fail.Fix:- Confirm you have an active internet connection.
- If prompted by macOS to install the Command Line Developer Tools, click Install and wait for it to complete. macOS shows this prompt automatically when the installer detects the tools are missing.
- Re-run
./provision.shonce the tools are installed.
You do not need to install the Command Line Developer Tools manually. macOS will prompt you during the first run if they are needed.
A cask app fails to install
A cask app fails to install
Cause: There are two common reasons a cask installation fails. The app may already be installed on your machine from a source other than Homebrew (such as a manual download from the vendor’s website), or the cask name in your
cask-packages/package-list.bash file may be incorrect.Fix:- Check that the cask name is correct at formulae.brew.sh/cask.
- If the app is already installed from a non-Homebrew source, either uninstall it first and re-run
./provision.sh, or remove it fromcask-packages/package-list.bashif you do not need Homebrew to manage it.
Mac App Store installs fail
Mac App Store installs fail
Cause: The
mac-app-store module uses mas to install apps from the Mac App Store. mas requires you to be signed in to the Mac App Store, and it can only install apps that you have previously purchased or downloaded (including free apps that require acceptance of terms).Fix:- Open the App Store application.
- Sign in with your Apple ID under Account in the sidebar.
- Re-run
./provision.sh.
provision.sh stops mid-run
provision.sh stops mid-run
Cause: Orchard’s scripts run with
set -euo pipefail, which means the script stops immediately when any command returns a non-zero exit code. This is intentional — it prevents a failure in one module from silently causing incorrect behaviour in later modules.Fix:- Read the error message printed before the script stopped. It will identify which command failed and why.
- Resolve the underlying issue (for example, connect to the internet, sign in to the App Store, or fix a misconfigured package name).
- Re-run
./provision.sh.
Dock changes don't appear
Dock changes don't appear
Cause: The
dock module applies changes using defaults write and then restarts the Dock process with killall Dock. In some cases — particularly if you ran provision.sh while another operation was restarting the Dock — the changes may not have taken effect.Fix: Restart your Mac. A full restart ensures the Dock process starts fresh and reads the updated preferences.If you want to manually restart the Dock without rebooting:Claude Code shows 'already installed' and skips
Claude Code shows 'already installed' and skips
Cause: This is expected behaviour, not an error. The
claude-code module checks whether claude is already present in your PATH before attempting to install it. If it finds an existing installation, it exits immediately without making any changes.Fix: No action is required. If you want to update Claude Code to a newer version, do so through Claude Code’s own update mechanism rather than through Orchard.