Instructions for installing Eta
You must have the following installed on your system:
Make sure you have XCode installed and have accepted the license agreement (run XCode at least once).
On Windows, you have two options:
Windows Subsystem for Linux (Windows 10 build 14986 or above)
You have two options for installing:
The stable branch which contains the last version that had a binary release
$ git clone --branch stable --recursive --depth 1 https://github.com/typelead/eta
$ cd eta
The master branch which has the latest version of Eta.
$ git clone --recursive --depth 1 https://github.com/typelead/eta
$ cd eta
Below are the OS-specific installation instructions:
Linux/OS X
$ ./install.sh
Windows
$ install.cmd
If you omit the --recursive flag to git clone, you will need to initialize the project’s submodules before installing:
$ git submodule sync
$ git submodule update --init --recursive
Once the installation is done, you will now have access to the following command-line tools:
Check to ensure that they are on the PATH.
$ eta --version
$ etlas --version
If you obtain an error that either tool is missing, run the following command:
$ stack path --local-bin
Add the path that you obtain in the output to your PATH environment variable.
If you want to update your source installation, you can follow the steps below.
If you already have an existing clone of the repository, you can run the command below:
Linux/OS X
$ ./update.sh
Windows
$ update.cmd
If you want to do a fresh clone, you can run the steps below:
$ git clone --recursive --depth 1 https://github.com/typelead/eta
$ cd eta
Linux/OS X
$ ./cleaninstall.sh
Windows
$ cleaninstall.cmd
Click here to jump to the basics module.