Skip to content

Commit 8841ab8

Browse files
authored
Merge pull request #397 from milancurcic/add-conda-instructions
Add Conda install instructions to the README
2 parents 482a52b + fc9fea9 commit 8841ab8

File tree

1 file changed

+26
-3
lines changed

1 file changed

+26
-3
lines changed

README.md

Lines changed: 26 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,38 @@ To report a bug report or suggest a feature, please read our
1717

1818
## Getting started
1919

20-
### Binary download
20+
### Setting up fpm
21+
22+
#### Binary download
2123
`x86-64` binaries are available [to download](https://github.com/fortran-lang/fpm/releases) for Windows, MacOS and Linux.
2224

2325
__Note:__ On Linux and MacOS, you will need to enable executable permission before you can use the binary.
2426

2527
_e.g._ `$ chmod u+x fpm-v0.1.0-linux-x86_64`
2628

27-
__Github actions:__ to setup *fpm* within Github actions for automated testing, you can use the [fortran-lang/setup-fpm](https://github.com/marketplace/actions/setup-fpm) action.
29+
#### Conda
30+
31+
Fpm is available on conda-forge, to add conda-forge to your channels use:
32+
33+
```
34+
conda config --add channels conda-forge
35+
```
36+
37+
Fpm can be installed with:
38+
39+
```
40+
conda create -n fpm fpm
41+
conda activate fpm
42+
```
43+
44+
The conda package manager can be installed from [miniforge](https://github.com/conda-forge/miniforge/releases)
45+
or from [miniconda](https://docs.conda.io/en/latest/miniconda.html).
46+
47+
#### Github Actions
48+
49+
To setup *fpm* within Github actions for automated testing, you can use the [fortran-lang/setup-fpm](https://github.com/marketplace/actions/setup-fpm) action.
50+
51+
#### Bootstraping on other platforms
2852

2953
For other platforms and architectures have a look at the [bootstrapping instructions](#bootstrapping-instructions).
3054

@@ -94,4 +118,3 @@ with itself and run the tests with:
94118
$ cd fpm
95119
$ fpm test
96120
```
97-

0 commit comments

Comments
 (0)