homeassistant-cli
brew install homeassistant-cli
v1.0.0_3
Apache-2.0
Command-line utility for Home Assistant
326
30-day installs · #2136
1.1k
90-day · #2134
2.4k
365-day · #2645
567
★ GitHub stars · updated 2mo ago
Runtime dependencies
GitHub topics
cli
home-assistant
home-automation
iot
smart-home
Links
- https://github.com/home-assistant-ecosystem/home-assistant-cli
- GitHub: home-assistant-ecosystem/home-assistant-cli
- Brew formula source: Formula/h/homeassistant-cli.rb
Raw metadata
{
"aliases": [],
"alternatives": [],
"build_dependencies": [],
"categories": [],
"caveats": null,
"conflicts_with": [],
"dependencies": [
"certifi",
"python@3.14"
],
"deprecated": 0,
"deprecation_reason": null,
"desc": "Command-line utility for Home Assistant",
"disable_reason": null,
"disabled": 0,
"enrichment_fetched_at": "2026-06-20T23:38:40+00:00",
"first_seen": "2026-06-20T23:34:18+00:00",
"full_name": "homeassistant-cli",
"github_default_branch": "dev",
"github_last_commit_at": "2026-06-17T14:25:45Z",
"github_readme_excerpt": "Home Assistant Command-line Interface (``hass-cli``)\n====================================================\n\n|Coverage| |License| |PyPI|\n\nThe Home Assistant Command-line interface (``hass-cli``) allows one to\nwork with a local or a remote `Home Assistant \u003chttps://home-assistant.io\u003e`_\ninstance directly from the command-line.\n\n.. image:: https://asciinema.org/a/216235.png\n :alt: hass-cli screencast\n :target: https://asciinema.org/a/216235?autoplay=1\u0026speed=1\n\n\nInstallation\n============\n\nTo use latest release:\n\n.. code:: bash\n\n $ pip install homeassistant-cli\n\nTo use latest pre-release from ``dev`` branch:\n\n.. code:: bash\n\n $ pip install git+https://github.com/home-assistant-ecosystem/home-assistant-cli@dev\n\nThe developers of `hass-cli` usually provide up-to-date `packages \u003chttps://src.fedoraproject.org/rpms/home-assistant-cli\u003e`_ for recent Fedora and EPEL releases. Use ``dnf`` for the installation:\n\n.. code:: bash\n\n $ sudo dnf -y install home-assistant-cli\n\nThe community is providing support for macOS through `homebew \u003chttps://formulae.brew.sh/formula/homeassistant-cli#default\u003e`_.\n\n.. code:: bash\n\n $ brew install homeassistant-cli\n\nKeep in mind that the available releases in the distribution could be out-dated.\n\n``home-assistant-cli`` is also available for NixOS.\n\nTo use the tool on NixOS. Keep in mind that the latest release could only\nbe available in the ``unstable`` channel.\n\n.. code:: bash\n\n $ nix-env -iA nixos.home-assistant-cli\n\nDocker\n-------\n\nIf you do not have a Python setup you can try use ``hass-cli`` via a container\nusing Docker.\n\n.. code:: bash\n\n $ docker run homeassistant/home-assistant-cli\n\n\nTo make auto-completion and access environment work like other scripts you\u0027ll\nneed to create a script file to execute.\n\n.. code:: bash\n\n $ curl https://raw.githubusercontent.com/home-assistant/home-assistant-cli/master/docker-hass-cli \u003e hass-cli\n $ chmod +x hass-cli\n\n\nNow put the ``hass-cli`` script into your path and you can use it like if ",
"github_repo": "home-assistant-ecosystem/home-assistant-cli",
"github_stars": 567,
"github_topics": [
"cli",
"home-assistant",
"home-automation",
"iot",
"smart-home"
],
"homepage": "https://github.com/home-assistant-ecosystem/home-assistant-cli",
"homepage_og_description": null,
"homepage_og_image": null,
"homepage_title": null,
"installs_30d": 326,
"installs_365d": 2380,
"installs_90d": 1070,
"keg_only": 0,
"keg_only_reason": null,
"last_seen": "2026-06-20T23:34:18+00:00",
"license": "Apache-2.0",
"llm_generated_at": null,
"llm_model": null,
"name": "homeassistant-cli",
"oldnames": [],
"one_liner": null,
"optional_dependencies": [],
"rank_30d": 2136,
"rank_365d": 2645,
"rank_90d": 2134,
"raw_hash": "94dc68d4f0915b44",
"recommended_dependencies": [],
"revision": 3,
"ruby_source_path": "Formula/h/homeassistant-cli.rb",
"tap": "homebrew/core",
"test_dependencies": [],
"uses_from_macos": [],
"version_head": "HEAD",
"version_stable": "1.0.0",
"versioned_formulae": [],
"why_use_this": null
}