Installation
Using npm (recommended)
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
- clone this repo
- run
npm install
- run
npm run build:npm
- run
npm run pack
- 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