Entropy installation is simple. You can install Entropy on macOS, Windows, Linux, OpenBSD, FreeBSD, and on any machine. There are several approaches to installing Entropy.
- Using a pre-compiled binary
- Installing with package manager
- Installing from source
- Installing with Docker
Download the appropriate version for your platform from releases page. Once
downloaded, the binary can be run from anywhere. You don’t need to install it into a global location. This works well
for shared hosts and other systems where you don’t have a privileged account. Ideally, you should install it somewhere
in your PATH for easy use. /usr/local/bin
is the most probable location.
# Install entropy (requires homebrew installed)
$ brew install goto/taps/entropy
# Upgrade entropy (requires homebrew installed)
$ brew upgrade entropy
# Check for installed entropy version
$ entropy version
To compile from source, you will need Go installed in your PATH
.
# Clone the repo
$ https://github.com/goto/entropy.git
# Build entropy binary file
$ make build
# Check for installed entropy version
$ ./entropy version
Entropy ships a Docker image goto/entropy that enables you to use entropy
as part of your Docker workflow.
For example, you can run entropy version
with this command:
$ docker run goto/entropy version
To verify Entropy is properly installed, run entropy version
on your system.
$ entropy version
# Running all unit tests, excluding extractors
$ make test