Skip to content

Commit 5130eb1

Browse files
committed
add Sebastian's Conda instructions
1 parent 482a52b commit 5130eb1

File tree

1 file changed

+23
-2
lines changed

1 file changed

+23
-2
lines changed

README.md

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,35 @@ 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+
If you haven't yet, first enable the conda-forge channel:
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+
#### Github Actions
45+
46+
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.
47+
48+
#### Bootstraping on other platforms
2849

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

0 commit comments

Comments
 (0)