Created
August 27, 2025 22:38
-
-
Save jamonholmgren/98446be9656b1daf58402bc7ee43bc2e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| mkdir -p "$HOME/homebrew" | |
| git clone https://github.com/Homebrew/brew "$HOME/homebrew/.linuxbrew/Homebrew" | |
| mkdir -p "$HOME/homebrew/bin" | |
| ln -s "$HOME/homebrew/.linuxbrew/Homebrew/bin/brew" "$HOME/homebrew/bin/brew" | |
| # Homebrew (per-user) | |
| eval "$($HOME/homebrew/bin/brew shellenv)" | |
| # Put casks in your user ~/Applications so we never need sudo | |
| export HOMEBREW_CASK_OPTS="--appdir=$HOME/Applications" | |
| mkdir -p "$HOME/Applications" | |
| # Reload shell | |
| exec $SHELL -l | |
| # Verify | |
| brew doctor | |
| # Test by installing wget | |
| brew install wget | |
| wget "https://example.com" | |
| # clean up | |
| rm ./index.html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment