Open liamdawson opened 5 months ago
Yeah, the messaging on that window isn't great:
"Error installing zed cli" / "error creating CLI symlink" doesn't tell you where to go / what to do.
The instructions for how to create a directory, symlink, and manipulate your path are likely too much to do inline:
mkdir -p ~/.local/bin
ln -sf /Application/Zed.app/Contents/MacOS/cli ~/.local/bin/zed
# add to ~/.zshrc:
# export PATH="$HOME/.local/bin/zed:$PATH"
# then respawn your shell
but I've included them here in case someone else finds this error and cannot do the normal
sudo ln -sf /Application/Zed.app/Contents/MacOS/cli /usr/local/bin/zed
.
Check for existing issues
Describe the feature
When I attempt to install the CLI without admin privileges, I would either like it to fall back to an approach that uses my home directory (e.g. install to
~/.local/bin
or~/bin
), or to provide instructions on how to achieve this for myself.Currently, it errors with:
I can install zed using Homebrew into
~/Applications
, and Homebrew manages an appropriate symlink at/opt/homebrew/bin/zed
for me, so this is a low priority issue for me.If applicable, add mockups / screenshots to help present your vision of the feature
No response