Install HaxeFlixel


To install the latest stable version of HaxeFlixel you can use haxelib from the following command:

haxelib install flixel

This also automatically installs OpenFL and Lime. After Haxelib has completed you can compile games to Flash. HTML5 and Neko out of the box.

Now run:

haxelib run lime setup

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 their respective lime setup commands are completed, each are specified in the OpenFL platform docs.

Updating HaxeFlixel

You can use the following command to update just flixel:

haxelib update flixel

Alternatively, you can update all your haxelib libraries at once with this command:

haxelib upgrade

Install flixel command

Run the following command to be able to use flixel commands:

haxelib install flixel-tools
haxelib run flixel-tools setup

Development version

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