Install HaxeFlixel

To install the latest stable version of HaxeFlixel, open a command prompt and run the following Haxelib commands:

haxelib install lime
haxelib install openfl
haxelib install flixel
BASH

After the installation is complete, you can compile games to HTML5, Flash and Neko out of the box.

To easily install additional libraries (addons, ui, demos, tools, templates...) in a single step, just run:

haxelib run lime setup flixel
BASH

Install the lime command

haxelib run lime setup
BASH

This makes lime available as a command (alias for haxelib run lime).

To compile to desktop and mobile targets, you have to make sure you have run the respective lime setup
commands. Each are specified in the
Lime "Advanced Setup" docs.

Install the flixel command

Run the following two commands to install flixel-tools (needed for project templates among other things):

haxelib install flixel-tools
haxelib run flixel-tools setup
BASH

Updating HaxeFlixel

If a new version of Flixel has been released, and you want to update to it, you can use the following command to do so:

haxelib update flixel
BASH

If you wanted to update e.g. flixel-addons instead, just replace flixel with flixel-addons.

To stay informed about new releases, you can follow @HaxeFlixel on Twitter or check out our Blog from time to time.

Development version

If you are interested in using bleeding edge code from the development branch on GitHub, see instructions here.