# Linux and Mac only (at the moment) curl https://pyenv.run | bash
Here is what the above code is Doing:
1. It’s downloading the pyenv installation script from the pyenv GitHub repository.
2. It’s running the installation script.
3. It’s adding the pyenv init command to your shell to enable shims and autocompletion.
4. It’s adding the command to your .bash_profile (or .bashrc) file so that it loads automatically when you open a new terminal window.