diff --git a/content/docs/devops/macos/python.md b/content/docs/devops/macos/python.md new file mode 100644 index 00000000..59bc195e --- /dev/null +++ b/content/docs/devops/macos/python.md @@ -0,0 +1,30 @@ +# Python on MacOS + +```sh +brew update +brew install pyenv +``` + +Check: + +```sh +pyenv root +``` + +Install python: + +```sh +pyenv install -l +pyenv install 3.12.0 +pyenv global 3.12.0 +pyenv version +``` + +Add to `~/.zshenv`: `eval "$(pyenv init -)"` + +Install packages: + +```sh +pip install --upgrade pip +pip install awscli +``` \ No newline at end of file