Skip to content

Installation

Tudor Marghidanu edited this page Jan 13, 2021 · 4 revisions

macOS

Werk is available for macOS via Homebrew:

brew tap marghidanu/werk
brew install werk

Get the binaries

Pre-built binaries for Linux and macOS are available on the releases page. Only the Linux binaries are statically built; the macOS ones still require the installation of additional dependencies.

Docker

Just pull the image from Docker Hub.

docker pull boord/werk

Building from source

Ensure you have Crystal installed on your machine; installation instructions are available here. Once you have Crystal up and running, you can start by cloning the Werk repository:

git clone https://github.com/marghidanu/werk.git

Change into the directory and build the application using the following commands:

cd werk
shards install
shards build --release --no-debug --progress

The application should be available under the "bin/" directory. Feel free to copy it somewhere in your path.

sudo cp bin/werk /usr/local/bin
Clone this wiki locally