Skip to main content
Version: 0.4.x

Installation

npm install -g utpp

or if you want to test it without installing it globally:

npx utpp

Using Precompiled binaries

sudo curl -fSsL https://github.com/adrianschubek/utpp/releases/latest/download/utpp-linux -o /usr/local/bin/utpp && sudo chmod +x /usr/local/bin/utpp

Precompiled binaries for Linux (x64, alpine) and Windows (x64) are published every release.

Both compressed (.tar.gz) and uncompressed binaries are available.

Linux-alpine binaries are designed to be used in docker containers.

MacOS and arm binaries are not published yet, but you can compile them yourself (see below).

Inside containers

If you want to use utpp inside a (alpine) docker container, you can use the alpine binaries.

Dockerfile
# using curl:
RUN curl -fSsL https://github.com/adrianschubek/utpp/releases/latest/download/utpp-alpine -o /usr/local/bin/utpp && chmod +x /usr/local/bin/utpp
# using wget:
RUN wget -q https://github.com/adrianschubek/utpp/releases/latest/download/utpp-alpine -O /usr/local/bin/utpp && chmod +x /usr/local/bin/utpp

Compile binaries yourself

  1. clone this repo
  2. run npm install
  3. run npm run build:npm
  4. run npm run pack
  5. binaries for various platforms are compiled in /dist

Move the executable to /usr/local/bin for easier CLI access: sudo mv <your-file> /usr/local/bin/utpp