GithubHelp home page GithubHelp logo

kylefinley / elm-platform Goto Github PK

View Code? Open in Web Editor NEW

This project forked from elm-lang/elm-platform

0.0 2.0 0.0 19.16 MB

Bundle of all core development tools for Elm

License: BSD 3-Clause "New" or "Revised" License

Haskell 46.63% Shell 42.49% Visual Basic 10.88%

elm-platform's Introduction

Elm Platform

A bundle of all Elm tools: elm, elm-reactor, elm-repl, and elm-get.

Getting Started

After installing, use this starter project to get comfortable using Elm and all of its tools.

Be sure to try out the time-traveling debugger with elm-reactor!

Installers

Update to a newer version of Elm by just running the installer again. They link to the latest versions, and they will safely overwrite old executables and paths so your machine is in a consistent state.

If you have any trouble installing, open an issue on this repo and then consider using the platform agnostic install path which works on any OS, but will take a while longer.

Mac

Use the Mac installer. Run this script if you ever want to uninstall.

Windows

Use the Windows installer.

Arch Linux

Follow these directions.

Platform Agnostic Install

The following instructions should work on any platform, from Windows to Ubuntu. It builds the compiler from source in a relatively straight-forward way, but it will still take some time to run.

  1. Download the Haskell Platform. We will use this to build the Elm Platform.

  2. Choose a directory to build the Elm Platform. On Linux and Mac a good place is /usr/local/. On Windows a good place is C:\Program Files\. The rest of the instructions will assume you are using /usr/local/ just to make things a bit simpler.

  3. In /usr/local/ create a directory named Elm-Platform/0.13/

  4. Run the following commands from within /usr/local/Elm-Platform/0.13/

    cabal sandbox init
    cabal update
    cabal install -j Elm-0.13 elm-repl-0.3 elm-reactor-0.1 elm-get-0.1.3

This will take some time. Upon finishing successfull, it will place all of
the executables you need in a directory called `bin/`.
  1. On Mac or Linux, add /usr/local/Elm-Platform/0.13/bin to your PATH. On Windows, add C:\Program Files\Elm-Platform\0.13\bin to your PATH. This makes it so you can run elm-repl or elm-reactor from anywhere on your computer.

This approach makes it easy to have multiple versions of Elm Platform installed. It is okay to have Elm-Platform/0.12.3, Elm-Platform/0.13, and many others. It is up to you to manage your PATH though.

Help

If you are stuck, check to see if anyone has had a similar issue. If not, open a new issue or email the list or ask a question in the #Elm IRC channel.

elm-platform's People

Contributors

agazso avatar passy avatar process-bot avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.