๐Ÿ”งInstallation

Supported platforms

OS
x86_64 / amd64
arm (64-bit)
arm (32-bit)

Linux

MacOS

Windows

One-liner command

The easiest way to install polyrule is by using the following one-liner command in your terminal:

Linux

curl -sL https://github.com/ermos/polyrule/releases/latest/download/polyrule_Linux_$(uname -m).tar.gz | tar -xvz --wildcards 'polyrule' \
&& sudo mv polyrule /usr/local/bin/

Mac

curl -sL https://github.com/ermos/polyrule/releases/latest/download/polyrule_macOS_all.tar.gz | tar -xvz --wildcards 'polyrule' \
&& sudo mv polyrule /usr/local/bin/

Github release

To install Polyrule from a Github release, you need to go in github release section of Polyrule. Find the release you want to install and download the corresponding package file for your operating system.

From sources

Polyrule is open source, you can get a copy of it and build your own executable. Open a terminal in your operating system and clone the repository :

git clone [email protected]:ermos/polyrule.git

Polyrule is written in Go, before building your executable, you must install Go in your operating system if it isn't already installed. You can follow this tutorial for install it. When it's done, you can run this command in Polyrule directory for build it :

make build/bin

Last updated

Was this helpful?