Skip to content

Home Assistant HACS Installation — Complete Guide

DodaTech Updated 2026-06-24 3 min read

In this tutorial, you'll learn about Home Assistant HACS Installation. We cover key concepts, practical examples, and best practices.

Hook

You try to install HACS in Home Assistant. The installation steps complete, but HACS does not appear in the sidebar. Or it appears but shows "No repositories found" or "Connection to GitHub failed." The community store is essential for custom integrations, but it will not load.

The Wrong Way

Manually downloading HACS ZIP files and extracting them into the custom_components directory bypasses HACS's own update mechanism and can leave old files behind.

# BAD: Manual install via wget
wget https://github.com/hacs/integration/releases/latest/download/hacs.zip
unzip -o hacs.zip -d /config/custom_components/hacs/
HACS installed
But shows: "Version mismatch — RELEASES file error"

Manual ZIP installations often miss the RELEASES file that HACS uses for version tracking.

The Right Way

Use the official HACS installation script or install via the HACS add-on.

# 1. Install HACS via the CLI script
docker exec -it hass bash -c \
  "wget -O - https://get.hacs.xyz | bash -"
HACS installer: Downloading latest release...
HACS installer: Extracting to custom_components...
HACS installer: Installation complete
# 2. Restart Home Assistant
docker restart hass
# 3. In Home Assistant:
# Settings → Devices & Services → Add Integration → Search "HACS"
HACS integration configured
Sidebar shows: HACS ✓
# 4. If HACS shows no repositories, check GitHub connectivity:
curl -sI https://api.github.com | head -1
HTTP/2 200

If GitHub is blocked, configure a GitHub token in HACS settings:

# Web UI → HACS → Configure → GitHub Token
# Generate a token at https://github.com/settings/tokens (no scopes needed)

Prevention

  • Install HACS via the official script, not manually.
  • Ensure Home Assistant can reach api.github.com and raw.githubusercontent.com.
  • Keep HACS updated — it prompts for updates in the sidebar.
  • Generate a GitHub personal access token even if not required — it increases API rate limits.
  • After major Home Assistant upgrades, re-check HACS compatibility.

Advanced Troubleshooting

Check the Logs

Most TOOL errors are logged to stdout or a dedicated log file. Check your logs first:

# Check system logs
journalctl -u tool --since "1 hour ago"

# Or check the application log
tail -50 ~/.tool/logs/error.log

Test with a Minimal Example

Create the simplest possible tool configuration to verify the base setup works:

tool --version
tool --help

If the minimal test passes, add configuration options one at a time until you find the breaking change.

Common Configuration Mistakes

  • Using the wrong file path or URL in configuration
  • Forgetting to restart TOOL after changing config files
  • Mixing tabs and spaces in YAML configuration files
  • Setting incorrect permissions on configuration directories

When to Reinstall

If none of the above resolves the issue, consider a clean reinstall:

# Backup your configuration
cp -r ~/.tool ~/.tool.bak

# Remove and reinstall
# Follow the official TOOL installation guide

This ensures you start from a known good state and can isolate the issue.

Common Mistakes with assistant hacs

  1. Using foldl instead of foldl' causing stack overflow on large lists
  2. Forgetting deriving (Show, Eq) on custom data types needed for debugging
  3. Placing the wildcard pattern first in case expressions, making all subsequent patterns unreachable

These mistakes appear frequently in real-world HOME code. DodaTech's contributors have identified these patterns through analysis of open-source projects and production systems.

Practice Exercise

Write a pure function that safely divides two integers using Maybe, then test it with edge cases like division by zero and negative numbers.

This exercise reinforces the concepts covered in this guide. Try implementing it before checking online solutions.

FAQ

What is HACS used for?

HACS (Home Assistant Community Store) is a plugin manager for custom integrations, Lovelace dashboards, themes, and Python scripts contributed by the Home Assistant community.

Is HACS safe to use?

HACS vets repositories for basic quality standards, but the code comes from third-party developers. Review each integration's source code and community reputation before installing. HACS shows the number of downloads and stars for each repository.

Why does HACS say 'Rate limited'?

GitHub limits unauthenticated API requests to 60 per hour. Generate a GitHub token (no special permissions needed) and add it to HACS configuration to increase the limit to 5000 per hour.


DodaTech — unlock the full Home Assistant community.

Built by the developers of DodaTech

Doda Browser, DodaZIP & Durga Antivirus Pro