Skip to content

Commit

Permalink
Polish installation instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
certik committed May 16, 2019
1 parent 4c05717 commit 4611a88
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions doc/src/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ This is the easiest way.
Download the latest tarball from
[https://lfortran.org/download/](https://lfortran.org/download/).

Install prerequisites and LFortran (works on both Linux and Mac):
Install prerequisites and LFortran (works on Linux, macOS and Windows):
```bash
conda create -n lfortran python=3.7 pytest llvmlite prompt_toolkit cmake make
conda activate lfortran
Expand All @@ -35,15 +35,20 @@ Now the `lfortran` environment has the `lfort` compiler available, you can
start the interactive prompt by executing `lfort`, or see the command line
options using `lfort -h`.

Note: besides the above prerequisites installed by `conda`, you also have to
have a C compiler.

Note on macOS: if `wget` is not present, use `curl -O` instead.

Optional: run tests:
```bash
py.test --pyargs lfortran
pytest --pyargs lfortran
```


## From Git

This works both on Linux and a Mac:
This works both on Linux, macOS and Windows:
```bash
conda create -n lfortran python=3.7 pytest llvmlite prompt_toolkit cmake make
conda activate lfortran
Expand All @@ -59,7 +64,7 @@ Build:
```
Run tests:
```bash
py.test
pytest
```
Run an interactive prompt:
```bash
Expand Down

0 comments on commit 4611a88

Please sign in to comment.