Skip to content

Installation

github-actions edited this page Jul 30, 2022 · 9 revisions

Since Dragonfly is still in its early stages, there aren't any prebuilt executables. These may be provided when Dragonfly becomes more stable. Instructions and a tutorial video can be found below.

Installation as library

The following commands assume you have created a new directory for your Go project, and you are trying to import dragonfly.

go mod init github.com/user/module # Insert your own username and project name here.
go get github.com/df-mc/dragonfly

SetupLibrary

Installation of the latest commit

The following commands download the latest dragonfly commit and run it.

git clone https://github.com/df-mc/dragonfly
cd dragonfly
go run main.go

SetupClone

Video

Dragonfly Tutorial #1 - Starting a server