Skip to content

Commit

Permalink
docs: Update install to use helics[cli] (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
trevorhardy authored and kdheepak committed Oct 13, 2023
1 parent a9d7363 commit 094cf29
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,14 @@ $ which pip # sanity check on Unix
$ where python # sanity check on Windows
$ where pip # sanity check on Windows

$ python -m pip install helics
$ python -m pip install 'helics[cli]'
```

Using `python -m pip` invokes the `pip` module from the `python` process. This is the safest way to ensure you are installing `helics` into the place `python` will look for packages.
If `pip` and `python` belong to the same environment, you can invoke `pip` directly.

It is recommended to use the optional `[cli]` extension on the PyHELICS install to provide the use of the "runner" functionality for launching co-simulations (among other features) All of the [HELICS User Guide examples](https://docs.helics.org/en/latest/user-guide/examples/examples_index.html) use the runner.

This will give you the latest version of the python helics interface.
If you already have helics installed, you can upgrade to the latest version by using the following:

Expand Down

0 comments on commit 094cf29

Please sign in to comment.