# CodeMaker CLI

To install the CodeMaker AI CLI follow these steps.

### Installation using Homebrew

1. Install [Homebrew](https://brew.sh/) on your local machine.
2. In terminal execute the command:\
   \
   `brew install codemakerai/tap/codemaker-cli`<br>
3. Configure the CLI and set the API Key:\
   \
   `codemaker configure`<br>
4. Run CLI commands:\
   \
   `codemaker generate docs **/*.java`

### Installing binary distribution

CodeMaker CLI can be installed for any of the supported platforms by downloading the [binary distribution](https://github.com/codemakerai/codemaker-cli/releases).

1. Download the latest release of [CodeMaker CLI](https://github.com/codemakerai/codemaker-cli/releases) for you operating system and architecture.
2. Unzip the archive.
3. Add CodeMaker CLI to your path.
4. Configure the CLI and set the API Key:\
   \
   `codemaker configure`
5. Run CLI commands\
   \
   `codemaker generate docs **/*.java`<br>
