<commit_before><?xml version="1.0" encoding="UTF-8"?>
<!-- Reviewed: no -->
<sect1 id="zend.tool.usage.cli">
    <title>Using Zend_Tool On The Command Line</title>

    <para>
        The <acronym>CLI</acronym>, or command line tool (internally known as the console tool),
        is currently the primary interface for dispatching <classname>Zend_Tool</classname>
        requests. With the <acronym>CLI</acronym> tool, developers can issue tooling requests
        inside the "command line window", also commonly known as a "terminal" window. This
        environment is predominant in the *nix environment, but also has a common implementation
        in windows with the <filename>cmd.exe</filename>, console2 and also with the Cygwin project.
    </para>

    <!--
    <sect2 id="zend.tool.usage.cli.introduction">
        <title>Introduction</title>
    </sect2>
    -->

    <sect2 id="zend.tool.usage.cli.installation">
        <title>Installation</title>

        <sect3 id="zend.tool.usage.cli.installation.download-and-go">
            <title>Download And Go</title>

            <para>
                First download Zend Framework. This can be done by going to framework.zend.com
                and downloading the latest release. After you've downloaded the package and placed
                it on your system. The next step is to make the zf command available to your
                system. The easiest way to do this, is to copy the proper files from the bin/
                directory of the download, and place these files within the
                <emphasis>same</emphasis> directory as the location of the <acronym>PHP</acronym>
                cli binary.
            </para>
        </sect3>

        <sect3 id="zend.tool.usage.cli.installation.pear">
            <title>Installing Via Pear</title>

            <para>
                To install via PEAR, you must use the 3rd party zfcampus.org site to retrieve the
                latest Zend Framework PEAR package. These packages are typically built within a day
                of an official Zend Framework release. The benefit of installing via the PEAR
                package manager is that during the install process, the ZF library will end up on
                the include_path, and the zf.php and zf scripts will end up in a place on your
                system that will allow you to run them without any additional setup.
            </para>

            <programlisting language="text"><![CDATA[
pear discover-channel pear.zfcampus.org
pear install zfcampus/zf
]]></programlisting>

            <para>
                That is it. After the initial install, you should be able to continue on by
                running the zf command. Go good way to check to see if it't there is to run
                zf --help<commit_msg>ZF-11077 Fixed pear instructions in documentation<commit_after><?xml version="1.0" encoding="UTF-8"?>
<!-- Reviewed: no -->
<sect1 id="zend.tool.usage.cli">
    <title>Using Zend_Tool On The Command Line</title>

    <para>
        The <acronym>CLI</acronym>, or command line tool (internally known as the console tool),
        is currently the primary interface for dispatching <classname>Zend_Tool</classname>
        requests. With the <acronym>CLI</acronym> tool, developers can issue tooling requests
        inside the "command line window", also commonly known as a "terminal" window. This
        environment is predominant in the *nix environment, but also has a common implementation
        in windows with the <filename>cmd.exe</filename>, console2 and also with the Cygwin project.
    </para>

    <!--
    <sect2 id="zend.tool.usage.cli.introduction">
        <title>Introduction</title>
    </sect2>
    -->

    <sect2 id="zend.tool.usage.cli.installation">
        <title>Installation</title>

        <sect3 id="zend.tool.usage.cli.installation.download-and-go">
            <title>Download And Go</title>

            <para>
                First download Zend Framework. This can be done by going to framework.zend.com
                and downloading the latest release. After you've downloaded the package and placed
                it on your system. The next step is to make the zf command available to your
                system. The easiest way to do this, is to copy the proper files from the bin/
                directory of the download, and place these files within the
                <emphasis>same</emphasis> directory as the location of the <acronym>PHP</acronym>
                cli binary.
            </para>
        </sect3>

        <sect3 id="zend.tool.usage.cli.installation.pear">
            <title>Installing Via Pear</title>

            <para>
                To install via PEAR, you must use the 3rd party zfcampus.org site to retrieve the
                latest Zend Framework PEAR package. These packages are typically built within a day
                of an official Zend Framework release. The benefit of installing via the PEAR
                package manager is that during the install process, the ZF library will end up on
                the include_path, and the zf.php and zf scripts will end up in a place on your
                system that will allow you to run them without any additional setup.
            </para>

            <programlisting language="text"><![CDATA[
pear channel-discover pear.zfcampus.org
pear install zfcampus/zf
]]></programlisting>

            <para>
                That is it. After the initial install, you should be able to continue on by
                running the zf command. Go good way to check to see if it't there is to run
                zf --help
{'fraction_non_alphanumeric': 0.07671957671957672, 'fraction_numerical': 0.0051146384479717815, 'mean_word_length': 2.2535857716580607, 'pattern_counts': {'":': 0, '<': 87, '<?xml version=': 2, '>': 87, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 12, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4738469', 'n_tokens_mistral': 1529, 'n_tokens_neox': 1424, 'n_words': 622}