-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update installing_esphome.rst #4380
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
@@ -48,20 +48,39 @@ | |||||||||||||
|
||||||||||||||
Mac | ||||||||||||||
--- | ||||||||||||||
Install Homebrew using the followng command. If you have it installed already, skip the next two steps. | ||||||||||||||
|
||||||||||||||
There are no tested installation instructions for Mac. ESPHome does support | ||||||||||||||
Mac & will run with no problem. | ||||||||||||||
.. code-block:: console | ||||||||||||||
|
||||||||||||||
Contributions are welcome! | ||||||||||||||
$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | ||||||||||||||
|
||||||||||||||
The process will likely be similar to Windows. You can install Python from the | ||||||||||||||
official site, and then install ESPHome with ``pip3 install esphome``. You can | ||||||||||||||
then test that things are properly installed with the following: | ||||||||||||||
Run these commands in your terminal to add Homebrew to your PATH: | ||||||||||||||
|
||||||||||||||
.. code-block:: console | ||||||||||||||
|
||||||||||||||
$ echo >> /Users/ymulgaonkar/.zprofile | ||||||||||||||
$ echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> /Users/[username]/.zprofile | ||||||||||||||
$ eval "$(/opt/homebrew/bin/brew shellenv)" | ||||||||||||||
|
||||||||||||||
Ensure you have Homebrew installed by running this command: | ||||||||||||||
|
||||||||||||||
.. code-block:: console | ||||||||||||||
|
||||||||||||||
$ brew --version | ||||||||||||||
Homebrew 4.4.2 | ||||||||||||||
|
||||||||||||||
Now install ESPHome with this command: | ||||||||||||||
|
||||||||||||||
.. code-block:: console | ||||||||||||||
|
||||||||||||||
$ brew install esphome | ||||||||||||||
Comment on lines
+74
to
+76
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fix RST formatting: Add empty line after code-block directive The code-block directive must be followed by an empty line for proper RST rendering. .. code-block:: console
+
$ brew install esphome 📝 Committable suggestion
Suggested change
🧰 Tools🪛 GitHub Check: build
|
||||||||||||||
|
||||||||||||||
Confirm your installation by running: | ||||||||||||||
|
||||||||||||||
.. code-block:: console | ||||||||||||||
|
||||||||||||||
$ esphome version | ||||||||||||||
Version: 2021.12.3 | ||||||||||||||
Version: 2024.10.1 | ||||||||||||||
Comment on lines
82
to
+83
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 💡 Codebase verification Let me analyze the version numbers in the documentation to verify the consistency concern. From the search results, I can see the following ESPHome version numbers in the installing_esphome.rst file:
The review comment correctly identified an inconsistency in the version numbers shown across different platform examples in the installation guide. This could indeed be confusing for users. Version numbers should be consistent across platform examples The installation guide shows different ESPHome versions for different platforms:
This inconsistency should be updated to show the latest version (2024.10.1) across all platform examples to avoid confusion. 🔗 Analysis chainVerify version consistency across platforms The documentation shows different ESPHome versions for different platforms:
This inconsistency might confuse users. Consider using the same version number across all platform examples to avoid confusion. Also applies to: 83-83 🏁 Scripts executedThe following scripts were executed for the analysis: Script: #!/bin/bash
# Check if there are other version numbers in the documentation
rg -n "[0-9]+\.[0-9]+\.[0-9]+" --type rst
Length of output: 152744 |
||||||||||||||
|
||||||||||||||
Linux | ||||||||||||||
----- | ||||||||||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove hardcoded username and improve PATH setup instructions
The current instructions contain a hardcoded username and might confuse users. Let's make it more generic and clear.
📝 Committable suggestion