django on mac code example Example 1: install django on mac $ python -m pip install Django Example 2: latest version of django pip install Django==3.1.5