🛠️
Polyrule
Github
  • 👋Introduction
  • 🚀Getting Started
    • 🔧Installation
    • 👮Creating Your First Rule
  • 📖Essentials
    • 🍕Supported Data Structure (Input)
    • 🍰Supported Programming Language (Output)
  • 💻Command Line Usage
    • 📎polyrule build
    • 📎(W) polyrule lang
  • 🤖Continuous Integration
    • 📎WIP
  • 💫Best Practices
    • 📎WIP
  • ⚠️Common Errors
    • 📎WIP
Powered by GitBook
On this page
  • Supported platforms
  • One-liner command
  • Github release
  • From sources

Was this helpful?

  1. Getting Started

Installation

PreviousIntroductionNextCreating Your First Rule

Last updated 2 years ago

Was this helpful?

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 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 git@github.com:ermos/polyrule.git
make build/bin

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

🚀
🔧
Go
this tutorial
github release section