Skip to content

Installation#

gnoic is a single binary built for the Linux, Mac OS and Windows platforms distributed via Github releases.

Linux/Mac OS#

To download & install the latest release the following automated installation script can be used:

bash -c "$(curl -sL https://get-gnoic.kmrd.dev)"

As a result, the latest gnoic version will be installed in the /usr/local/bin directory and the version information will be printed out.

Downloading gnoic_0.0.2_darwin_x86_64.tar.gz
Preparing to install gnoic 0.0.2 into /usr/local/bin

gnoic installed into /usr/local/bin/gnoic
version : 0.0.2
 commit : 3bb2670
   date : 2021-05-05T16:39:59Z
 gitURL : https://github.com/karimra/gnoic
   docs : https://gnoic.kmrd.dev

Packages#

Linux users running distributions with support for deb/rpm packages can install gnoic using pre-built packages:

bash -c "$(curl -sL https://get-gnoic.kmrd.dev)" -- --use-pkg

Docker#

The gnoic container image can be pulled from GitHub container registries. The tag of the image corresponds to the release version and latest tag points to the latest available release:

# pull latest release from github registry
docker pull ghcr.io/karimra/gnoic:latest
# pull a specific release from github registry
docker pull ghcr.io/karimra/gnoic:0.0.2

Example running gnoic tree command using the docker image:

docker run \
       --network host \
       --rm ghcr.io/karimra/gnoic tree
Back to top