-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
on a freshly installed macOS 15.2 VM, the /usr/local/bin directory does not exist and I get the following error:
albin@Albins-Virtual-Machine configs % curl -fsSL https://get.comtrya.dev | sudo sh
arm64
Downloading package https://github.com/comtrya/comtrya/releases/download/v0.9.0/comtrya-aarch64-apple-darwin as /tmp/comtrya-aarch64-apple-darwin
Download complete.
============================================================
The script was run as a user who is unable to write
to /usr/local/bin. To complete the installation the
following commands may need to be run manually.
============================================================
sudo cp comtrya-aarch64-apple-darwin /usr/local/bin/comtrya
sudo ln -sf /usr/local/bin/comtrya /usr/local/bin/comtrya
albin@Albins-Virtual-Machine configs % sudo cp comtrya-aarch64-apple-darwin /usr/local/bin/comtrya
cp: /usr/local/bin/comtrya: No such file or directory
It can be created with sudo mkdir -p /usr/local/bin
Unsure the best approach here.
Warn User or create if not exists?
Metadata
Metadata
Assignees
Labels
No labels