In this tutorial, I will show you how to install Python 3.11 on Mac OS using brew.
Python 3.11 is the newest major release of the Python programming language, and it contains many new features and optimizations.
Read Also: How to install Python 3.8 on Mac using pyenv
1. Update brew
First of all, you need to update brew and if you haven’t installed brew please install it.
brew update
Consider reading: How to install Python 3.7 on Raspberry PI
2. Install Python 3.11 on Mac using brew
Now it’s time to install python 3.11 using brew
brew install python@3.11
What if you are upgrading it from python 3.9
brew unlink python@3.10
brew link --force python@3.11
3. Check the Python Version
Now after installation let’s check the python version with the following command.
$ python3 --version
Python 3.11
Python 3.11 is installed successfully.
Please let me know how you like the tutorial.
Read Also: How to remove rvm on Mac
Please let me know how you liked the tutorial. Please comment below on what you want to learn next or topics I should write tutorials on.
It would be great if you can help me keeping this blog up and running by contributing a little bit. You can use the following link to help me.