Update to the macOS guide (#9662)

* Update to the macOS guide

1. Updated the Python version
2. Changed it to a venv install to avoid people breaking things by accident
3. Linked to the auto-start guide
4. Removed link to the outdated video

* Update macos.markdown

* ✏️ Tweaks

* ✏️ Tweak
This commit is contained in:
Dubh Ad 2019-06-20 18:42:06 +01:00 committed by Franck Nijhof
parent 774042665b
commit 9ece978351

View File

@ -11,12 +11,14 @@ footer: true
[macOS](http://www.apple.com/macos/) is available by default on Apple computer. If you run a different operating system, please refer to the other section of the documentation.
To run Home Assistant on macOS you need to install Python first. Download Python 3.5.3 or later from [https://www.python.org/downloads/mac-osx/](https://www.python.org/downloads/mac-osx/) and follow the instructions of the installer.
To run Home Assistant on macOS, you need to install Python first. Download Python 3.6 or later (at this time, we recommend Python 3.7) from [https://www.python.org/downloads/mac-osx/](https://www.python.org/downloads/mac-osx/) and follow the instructions of the installer.
Open a terminal and install Home Assistant.
Open a terminal and install Home Assistant in a virtual environment:
```bash
$ python3 -m venv homeassistant
$ source homeassistant/bin/activate
$ pip3 install homeassistant
```
Check this [video](https://www.youtube.com/watch?v=hej6ipN86ls) for the installation on macOS.
You can then configure Home Assistant to autostart by following [this guide](/docs/autostart/macos/).