3 ms·
Sure, but that convenience will come to bite you later. What happens when you want to update it? Their full install docs is like 5 lines of code so it is much
by whalesalad 2y ago
Sure, but that convenience will come to bite you later. What happens when you want to update it?
Their full install docs is like 5 lines of code so it is much preferred to do it that way. Every distribution is different. The ideal install here would be to add a unique apt repo for zed and then it becomes part of my normal update process. Updating a binary in a directory is not the end of the world... but I would prefer to know that upfront versus needing to hunt down where it was placed in order to do the updates.
edit its 4 lines. seeing this is much preferred to parsing a bash script that is intended to support all distributions:
wget https://zed.dev/api/releases/stable/latest/zed-linux-x86_64.tar.gz
mkdir -p ~/.local
tar -xvf zed-linux-x86_64.tar.gz -C ~/.local
ln -sf ~/.local/bin/zed ~/.local/zed.app/bin/zed