mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-21 16:27:19 +00:00
Add Home Assistant package version to Python install command (#25441)
This commit is contained in:
parent
0b251ed3a0
commit
fd60a9fd19
@ -10,7 +10,7 @@ This utility should have been installed as part of the Python 3 installation. Ch
|
||||
If you are able to successfully run `python3 --version` but not `pip3`, install Home Assistant by running the following command instead:
|
||||
|
||||
```bash
|
||||
python3 -m pip install homeassistant
|
||||
python3 -m pip install homeassistant=={{ site.current_major_version }}.{{ site.current_minor_version }}.{{ site.current_patch_version }}
|
||||
```
|
||||
|
||||
On a Debian system, you can also install python3 by `sudo apt-get install python3` and pip3 by `sudo apt-get install python3-pip`.
|
||||
|
@ -84,7 +84,7 @@ python3 -m pip install wheel
|
||||
Once you have installed the required Python package, it is now time to install Home Assistant Core!
|
||||
|
||||
```bash
|
||||
pip3 install homeassistant
|
||||
pip3 install homeassistant=={{ site.current_major_version }}.{{ site.current_minor_version }}.{{ site.current_patch_version }}
|
||||
```
|
||||
|
||||
Start Home Assistant Core for the first time. This will complete the installation for you, automatically creating the `.homeassistant` configuration directory in the `/home/homeassistant` directory, and installing any basic dependencies.
|
||||
|
Loading…
x
Reference in New Issue
Block a user