docs: Add Homebrew installation instructions for Linux#2062
docs: Add Homebrew installation instructions for Linux#2062kaankacar wants to merge 2 commits intostellar:mainfrom
Conversation
| Then, follow the instructions to add Homebrew to your PATH: | ||
|
|
||
| ```bash | ||
| eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" |
There was a problem hiding this comment.
this might need some more work. /home/linuxbrew likely won't exist on a linux system, and (I'm assuming) is a placeholder here. eval "$(~/.linuxbrew/bin/brew shellenv)" might be a better fit
|
Thank you for your feedback Elliot, updated! I looked into it and found that both paths are actually valid: |
|
Interesting! hadn't seen that lol. i even looked at homebrew's linux documentation, but somehow missed that part 🤦🏻♂️ now i'm second-guessing myself 🤣 I've never used homebrew on a linux system, so i'm glad to learn something new about it! let's actually revert that change lol. it does appear that the default, best-supported option is to have the installer create and install to |
|
Changes introduced in #2103 may simplify any decision we need to make here |
|
In my opinion, suggesting homebrew for linux users is the wrong call. Now that we have the install script, we should refer to that, even if we don't have plans to phase it out. |
Problem
The current documentation assumes
brewis available on Linux or that the user knows how to install it. An audit of the "Getting Started" guide identified this as a blocker for users on Linux, where commands likebrew install stellar-clifail with "command not found".Solution
This PR adds explicit instructions for installing Homebrew on Linux within the
setup.mdxfile.Changes:
Verification
brew.sh.Install the Stellar CLIsection.