mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-05-06 19:18:59 +00:00

* Sets front matter defaults * Removes default front matter from section templates/pages * Removes default front matter from addon pages * Removes default front matter from integration pages * Removes default front matter from posts * Removes default front matter from docs pages * Removes default front matter from other pages * Fixes blog category pages
27 lines
724 B
Markdown
27 lines
724 B
Markdown
---
|
|
title: "Autostart on macOS"
|
|
description: "Instructions on how to setup Home Assistant to launch on Apple macOS."
|
|
redirect_from: /getting-started/autostart-macos/
|
|
---
|
|
|
|
Setting up Home Assistant to run as a background service is simple; macOS will start Home Assistant after the system has booted, the user has logged in, and make sure it's always running.
|
|
|
|
To get Home Assistant installed as a background service, run:
|
|
|
|
|
|
```bash
|
|
$ hass --script macos install
|
|
|
|
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 --script macos uninstall
|
|
|
|
Home Assistant has been uninstalled.
|
|
```
|