Installing brew on linux proved quite easy and got pyenv running for me within 4 commands.
I had never used homebrew before, honestly I thought it was a mac only thing for years. Today I wanted to try out pyenv, and the recommended way to install was using homebrew. I am not yet sure if I want either in my normal workflow, so for now I am just going to pop open a new terminal and install homebrew and see how it goes.
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"' >> /home/walkers/.zprofile
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
That was it, now homebrew is working. Starting a new shell and running the command to install pyenv worked.
brew install pyenv
Links
This post is part of a series of til's where I share things in short digestible chunks.
Top comments (3)
Homebrew, mens best friend
What do you use homebrew for? I found another way to get pyenv and am on the fence of not adding homebrew to the normal workflow.
I generally use homebrew for installing everything, even applications on mac.
Just takes away the hassle of having to do anything really.