Download
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.
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.
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
from mirror (By BernardV)
from windows only
Next Steps
- Find your perfect Haxe editor or IDE
- Get your feet wet in the Getting started section
Manual Install
Here below is the general procedure. Windows user can refer to a more detailed version at Getting Started on Windows.
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.
Procedure
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.
Specific Install Notes
- You can download the latest SVN version automatic builds from http://haxe.cmt.tc
- If you want to build Haxe from source, read the build instructions.
- More installation infos about specific linux distros: