Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update nextflow install path #5198

Merged
14 changes: 9 additions & 5 deletions docs/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,16 @@ Nextflow is distributed as a self-installing package, in order to make the insta
chmod +x nextflow
```

3. Move Nextflow into an executable path:
3. Move Nextflow into an executable path. For example:

```bash
sudo mv nextflow /usr/local/bin
mv nextflow $HOME/.local/bin/
pditommaso marked this conversation as resolved.
Show resolved Hide resolved
```

:::{tip}
You can set `export PATH="$PATH:$HOME/.local/bin"` to add it as an executable path.
:::

4. Confirm that Nextflow is installed correctly:

```bash
Expand All @@ -83,7 +87,7 @@ nextflow self-update
You can also temporarily switch to a specific version of Nextflow with the `NXF_VER` environment variable. For example:

```bash
NXF_VER=23.10.0 nextflow run hello
NXF_VER=23.10.0 nextflow info
```

## Stable and edge releases
Expand All @@ -98,10 +102,10 @@ To use the latest edge release, set `NXF_EDGE=1` when updating:
NXF_EDGE=1 nextflow self-update
```

You can also use `NXF_VER` to switch to any edge release:
You can also use `NXF_VER` to temporarily switch to any edge release. For example:

```bash
$ nextflow info
NXF_VER=24.06.0-edge nextflow info
```

## Standalone distribution
Expand Down
Loading