mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-06-01 15:56:49 +00:00
62 lines
1.3 KiB
Markdown
62 lines
1.3 KiB
Markdown
## Run a development version
|
|
|
|
If you want to stay on the bleeding-edge Home Assistant Core development branch, you can upgrade to `dev`.
|
|
|
|
<div class='note warning'>
|
|
|
|
The `dev` branch is likely to be unstable. Potential consequences include loss of data and instance corruption.
|
|
|
|
</div>
|
|
|
|
{% if page.installation == "os" or page.installation == "supervised" %}
|
|
|
|
1. Join the dev channel
|
|
|
|
```bash
|
|
ha supervisor options --channel dev
|
|
```
|
|
|
|
2. Reload the supervisor
|
|
|
|
```bash
|
|
ha supervisor reload
|
|
```
|
|
|
|
3. Update Home Assistant core to the latest dev version
|
|
|
|
```bash
|
|
ha core update
|
|
```
|
|
|
|
{% elsif page.installation == "container" %}
|
|
|
|
```bash
|
|
docker pull {{ site.installation.container }}:dev
|
|
```
|
|
|
|
**[You then need to recreate the container with the new image.](/installation/linux#install-home-assistant-container)**
|
|
|
|
{% elsif page.installation == "core" %}
|
|
|
|
1. Switch to the user that is running Home Assistant
|
|
|
|
```bash
|
|
sudo -u homeassistant -H -s
|
|
```
|
|
|
|
2. Activate the virtual environment that Home Assistant is running in
|
|
|
|
```bash
|
|
source /srv/homeassistant/bin/activate
|
|
```
|
|
|
|
3. Download and install the version you want
|
|
|
|
```bash
|
|
pip3 install --upgrade git+https://github.com/home-assistant/core.git@dev
|
|
```
|
|
|
|
4. When that is complete restart the service for it to use the new files.
|
|
|
|
{% endif %}
|