You can easily install Haxe by using one of the following automatic installers : It seems that the Windows Installer is reported as infected by some antivirus software. This is a false report and you can safely run the program on your system: if it happens, please contact the antivirus' vendor so they can fix the issue as soon as possible. Due to some ACL issues with Windows Vista and Win7, Haxe will install itself in
C:/Motion-Twin/haxeon these systems. Sorry for the inconvenience but using ProgramFiles was causing too many issues. Mac OSX users on Leopard ( 10.5 ) need to patch with a nightly haxe, see below.
Please note that the automatic installer also downloads and installs Neko. The following will cover installing Neko, you may skip those parts if you have Neko installed already.
Windows user can refer to a more detailed version at Getting Started on Windows.
1. Download and extract one of the below:
2. Download and extract the Neko binaries from NekoVM website
3. Set environment variables:
- HAXEPATH to absolute path to the extracted folder of Haxe. eg. D:\haxe-2.07-win
- NEKOPATH to absolute path to the extracted folder of Neko. eg. D:\neko-1.8.1-win
- Add %HAXEPATH%;%NEKOPATH%; to PATH
4. Done. To check if it works or not, open Command Prompt (Terminal) and enter
It should print out the info of Haxe. Try reboot once if it doesn't.
Building from source
- Source code : http://code.google.com/p/haxe
- If you want to build Haxe from source, read the build instructions.
You can use the automatic nightly builds installer neko tool from here. Run "neko nb" in order to see a list of options, and "sudo neko nb -install" to install the newest revision. Please note that was tested on OSX only and had no confirmation for other platforms yet. See this thread for more info on the tool.
Or if you want to enjoy Haxe's freshly added features and bug fixes, you can download the newest builds for each platform offered by haxe users:
from here (By Cauê Waneck)
from mirror (By BernardV)
from windows only (By Hosey)
Specific Install Notes
John Lindquist has created a video tutorial showing the simplicity of this automatic setup, the tutorial is for the windows platform, and covers a simple example for the flash target using FlashDevelop editor.