Last active
May 26, 2023 00:37
-
-
Save eugrus/7f86bc47c21bd03897d4b3a679792907 to your computer and use it in GitHub Desktop.
create a bin environment with package managers for and by a simple user in his home directory
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 ~/bin | |
mkdir ~/.local | |
mkdir ~/.local/bin | |
git clone https://github.com/Homebrew/brew homebrew | |
eval "$(homebrew/bin/brew shellenv)" | |
brew update --force --quiet | |
chmod -R go-w "$(brew --prefix)/share/zsh" | |
echo 'export PATH=$PATH:$HOME/bin:$HOME/.local/bin:$HOME/homebrew/bin' >> ~/.bashrc | |
source ~/.bashrc | |
curl https://bootstrap.pypa.io/get-pip.py | python3 - --user |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment