<!--
THE INSTALLATION SECTION IS GENERATED

Do not edit here, but in docs/installation/.

-->
{% for platform, tools in structure %}
    - [{{ platform }}](#{{ platform.lower() }}){% endfor %} {# <= keep `endfor` here to prevent unwanted `\n` #}

{% for platform, tools in structure %}

    ### {{ platform }}

    {% for tool in tools %}
        #### {{ tool.title }}

        {% if tool.note %}
            {{ tool.note }}
        {% endif %}

        {% if tool.links.setup %}
            To install [{{ tool.name }}]({{ tool.links.homepage }}), see [its installation]({{ tool.links.setup }}).
        {% endif %}

        ```bash
        # Install httpie
        $ {{ tool.commands.install|join('\n$ ') }}
        ```

        ```bash
        # Upgrade httpie
        $ {{ tool.commands.upgrade|join('\n$ ') }}
        ```
    {% endfor %}

{% endfor %}
<!-- /GENERATED SECTION -->
