Franck Nijhof c464056402
Making our website faster, cleaner and prettier (#9853)
* 🔥 Removes octopress.js

* 🔥 Removes use of root_url var

* 🔥 Removes Octopress generator reference from feed

* 🔥 Removes delicious support

* 🔥 Removes support for Pinboard

* 🔥 Removes support for Disqus

* 🔥 Removes support for Google Plus

* ↩️ Migrate custom after_footer to default template

* ↩️ Migrate custom footer to default template

* ↩️ Migrate custom header to default template

* 🔥 Removes unused template files

* 🚀 Places time to read directly in post template

* 🚀 Removes unneeded capture from archive_post.html template

* 🔥 🚀 Removes unused, but heaving sorting call in component page

* 🚀 Merged javascripts into a single file

* 🔥 Removes more uses of root_url

* 🚀 Removal of unneeded captures from head

* 🔥 🚀 Removal of expensive liquid HTML compressor

* 🔥 Removes unneeded templates

* 🚀 Replaces kramdown with GitHub's CommonMark 🚀

* 💄 Adds Prism code syntax highlighting

*  Adds support for redirect in Netlify

* ↩️ 🔥 Let Netlify handle all developer doc redirects

* ✏️ Fixes typo in redirects file: Netify -> Netlify

* 🔥 Removes unused .themes folder

* 🔥 Removes unused aside.html template

* 🔥 Removes Disqus config leftover

* 🔥 Removes rouge highlighter config

* 🔥 Removes Octopress 🎉

* 💄 Adjust code block font size and adds soft wraps

* 💄 Adds styling for inline code blocks

* 💄 Improve styling of note/warning/info boxes + div support

* 🔨 Rewrites all note/warning/info boxes
2019-07-15 22:17:54 +02:00

62 lines
2.0 KiB
Markdown

---
title: "Installation on a Windows system"
description: "Instructions to install Home Assistant on a Microsoft Windows system."
---
To run Home Assistant on Microsoft Windows installation you need to install Python first. Download Python (the latest version of Python 3.6 is recommended) for [https://www.python.org/downloads/windows/](https://www.python.org/downloads/windows/) and follow the instructions of the installer.
<div class='note'>
There may be alpha or beta releases of Python listed on that download page (marked by the letters `a` or `b` in the version number. Do not use these versions.
</div>
If you use your machine for something other than Home Assistant, you should install it in a [Python virtual environment](#installing-in-a-python-virtual-environment).
Start
```bash
C:\...\> pip3 install homeassistant
C:\...\> py -m homeassistant --open-ui
```
For autostarting Home Assistant please refer to this [guide](https://community.home-assistant.io/t/autostart-on-windows/3504).
Check this [video](https://www.youtube.com/watch?v=X27eVvuqwnY) for the installation on Windows 10.
<div class='note warning'>
The Microsoft Windows platform is not a primary target to install Home Assistant. Also, not all tools and third-party modules will work.
</div>
## Updating
To update Home Assistant, stop it and then run:
```bash
C:\...\> pip3 install --upgrade homeassistant
```
Then start Home Assistant.
## Installing in a Python virtual environment
Open `cmd.exe` and paste the following commands (one at the time):
```bash
C:\...\> py -m venv homeassistant
C:\...\> cd homeassistant
C:\...\> Scripts\activate.bat
C:\...\> py -m pip install wheel setuptools pip
C:\...\> py -m pip install homeassistant
C:\...\> hass
```
## Upgrading in a Python virtual environment
To update Home Assistant, stop it and then open `cmd.exe` and paste the following commands (one at the time):
```bash
C:\...\> cd homeassistant
C:\...\> Scripts\activate.bat
C:\...\> py -m pip install --upgrade homeassistant
```
Then start Home Assistant.