Add Home Assistant package version to Python install command (#25441)

This commit is contained in:
Franck Nijhof 2022-12-29 09:24:10 +01:00 committed by GitHub
parent 0b251ed3a0
commit fd60a9fd19
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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: If you are able to successfully run `python3 --version` but not `pip3`, install Home Assistant by running the following command instead:
```bash ```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`. On a Debian system, you can also install python3 by `sudo apt-get install python3` and pip3 by `sudo apt-get install python3-pip`.

View File

@ -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! Once you have installed the required Python package, it is now time to install Home Assistant Core!
```bash ```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. 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.