home-assistant.io/source/getting-started/autostart-macos.markdown
Fabian Affolter 92344f1833 Use OS X
2016-06-05 15:17:11 +02:00

32 lines
679 B
Markdown

---
layout: page
title: "Autostart on OS X"
description: "Instructions how to setup Home Assistant to launch on OS X."
date: 2015-9-1 22:57
sidebar: true
comments: false
sharing: true
footer: true
---
Setting up Home Assistant to run as a background service is simple. OS X will start it on boot and make sure it's always running.
To get Home Assistant installed as a background service, run:
```bash
$ hass --install-osx
Home Assistant has been installed. Open it here: http://localhost:8123
```
Home Assistant will log to `~/Library/Logs/homeassistant.log`
To uninstall the service, run:
```bash
$ hass --uninstall-osx
Home Assistant has been uninstalled.
```