Downloading and Using the Freshli CLI

The freshli execuctable program needs to be downloaded to your computer so that it can analyze your codebase. There are a few different options that you can follow for installing the program.

Using Docker

This is the prefered option for downloading the freshli executable, because it requires the least amount of setup work. All of the configuration that is listed in the "Build from Source" section has been taken care of inside of the Docker container.

Run the following docker command to download the latest version of freshli.

docker pull corgibytes/freshli-cli:latest

Animated gif showing the output from running docker pull corgibytes/freshli-cli:latest

After the download finishes, you'll be able to run the following docker command to run freshli.

docker run --rm corgibytes/freshli-cli --version

Building from Source

If you don't want to use Docker, then you will have to build the Freshli CLI from the source code.

Getting the freshli executable

  1. Download the freshli source code
  2. Follow the instructions in the README.md file for how to build and run the application.

Setting up freshli-agent-java

  1. Download the freshli-agent-java source code
  2. Follow the instructions in the README.md file for how to build and run the application.