Installing Haxe
First, you will need to install Haxe (Neko and Haxelib). There are a couple ways to install Haxe:
- Get the installer from haxe.org (original)
- Use NPM
- Use Homebrew
- Use Chocolatey
Although all the installation methods should work. I have use the original installer from haxe.org, and didn't try the other methods.
My suggestion would be to use that one!
Installer (original) from haxe.org
You can find installers and binaries for Windows, OS X and Linux on http://haxe.org/download/.
Install with NPM (node)
Before you can install Haxe, you have to install Node.js (and thus NPM). Installing Haxe with NPM makes sense if you have NPM installed already.
But here is the link to install Node.js: https://nodejs.org/
After installation use:
npm install -g haxe
read more about Haxe at NPM AND check out all the Haxe related projects on NPM.
Install with Homebrew
Same as with Node.js, you probably want to use Homebrew if you have this already installed. Worth mentioning: this works on OS X.
Visit http://brew.sh/ to get instruction how to install Homebrew.
After installation use: (install latest from git with --HEAD)
brew install haxe --HEAD
Install with chocolatey
This is a Windows install method. You can get your Chocolatey install instructions from chocolatey.org
After installation use:
choco install haxe