Download
You are viewing an old version of this entry, click here to see latest version.
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
Please note that the automatic installer also downloads and installs NekoVM which is used for some Haxe tools.
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
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.10-rc-win.zip
- for OSX : haxe-2.10-rc-osx.tar.gz
- for Linux : haxe-2.10-rc-linux.tar.gz
- Older versions
2. Download and extract the Neko binaries from NekoVM website
3. Set environment variables:
- HAXE_LIBRARY_PATH to the absolute path of the std folder of Haxe. eg. D:\haxe-2.10-win\std:. (the ' :. ' part is important)
- HAXEPATH to the absolute path of the extracted folder of Haxe. eg. D:\haxe-2.10-win
- NEKOPATH to the absolute path of the extracted folder of Neko. eg. D:\neko-1.8.2-win
- Add %HAXEPATH%;%NEKOPATH%; to the PATH environment variable of your operating system.
To check if the haxe executable can be found, open Command Prompt (Terminal) and enter
haxeIt should print out the info of Haxe:
Haxe Compiler 2.10 - (c)2005-2012 Motion-Twin Usage : haxe.exe -main <class> [-swf|-js|-neko|-php|-cpp|-cs|-java|-as3] <output> [options] Options : -cp <path> : add a directory to find source files (The rest of the options are omitted for brevity.)
Building from source
- If you want to build Haxe from source, read the build instructions
- Source code : http://code.google.com/p/haxe (official)
- Github mirror : https://github.com/TheHippo/haxe (By TheHippo) [incl. compile dependencies]
- Github mirror : https://github.com/aduros-mirrors/haxe (By Aduros)
Nightly Builds
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:
- Official Builds
- automated: yes
- frequency: every revision
- executable shows revision nr: no
- contact: Cauê
Please check the date to ensure that the build for your OS is up-to-date. You can use the automatic nightly builds installer neko tool from here. See this thread for more info on the tool. 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.
- osx 10.7 + linux32 + mirror
- automated: yes
- frequency: every revision
- executable shows revision nr: yes
- contact: BernardV
- windows + linux32
- automated: yes
- frequency: every (waking) hour
- executable shows revision nr: yes
- contact: Jan_Flanders
- Mac
- automated: no
- compiled on Leopard also suitable for Lion and Snowy Leopard.
- frequency: couple of times a week, often late Sunday's to catch weekend changes.
- executable shows revision nr: yes
- contact: Justin L Mills
- Instructions for installing a nightly build:
- Download the latest build (zip or tar) from one of the links above.
- Navigate to the directory where haxe is installed.
- Replace the haxe executable and the std folder with the ones from the zip or tar.
Packages
APT repository
Detailed installation for Ubuntu :
- Software Center: Download for Ubuntu
- Apt-Get
sudo apt-get install haxe
version #14390, modified 2012-07-09 04:16:50 by JLM