Download
Automatic Installer
You can easily install Haxe by using one of the following automatic installers :
- Download Windows Installer
- Download OSX Universal Installer
- Download Linux Installer
C:/Motion-Twin/haxe on 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.
Next steps
- Find your perfect Haxe editor or IDE
- Get your feet wet in the Getting started section
Manual Install
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:
- for Windows : haxe-2.08-win.zip
- for OSX : haxe-2.08-osx.tar.gz
- for Linux : haxe-2.08-linux.tar.gz
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
haxe
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.
Nightly Builds
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.