NAME

Ixchel::functions::install_yq - Installs mikefarah/yq.

VERSION

Version 0.0.1

SYNOPSIS

use Ixchel::functions::install_yq;
use Data::Dumper;

eval{ install_yq };
if ($@) {
    print 'Failed to install yq... '.$@."\n";
}

# install it to /usr/local/bin/yq
eval{ install_yq(path=>'/usr/local/bin/yq') };
if ($@) {
    print 'Failed to install yq... '.$@."\n";
}

The available options are as below.

- path :: Where to install to if not using a package.
    Default :: /usr/bin/yq

- no_pkg :: Don't attempt to install via a package.
    Default :: 0

Supported OS as below...

FreeBSD
Linux
NetBSD
OpenBSD

Package support is available for the OSes below.

FreeBSD