Skip to content

Commit

Permalink
docs: Add details about musl build to readme (starship#997)
Browse files Browse the repository at this point in the history
* Add details about musl build to readme

* Move details to FAQ
  • Loading branch information
Daniel15 authored and dagbrown committed Jul 15, 2021
1 parent beeb70b commit 13a50b7
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/faq/README.md
Expand Up @@ -43,3 +43,11 @@ starship prompt --help
```

The prompt will use as much context as is provided, but no flags are "required".

## How do I run Starship on Linux distributions with older versions of glibc?

If you get an error like "*version 'GLIBC_2.18' not found (required by starship)*" when using the prebuilt binary (for example, on CentOS 6 or 7), you can use a binary compiled with `musl` instead of `glibc`:

```sh
curl -fsSL https://starship.rs/install.sh | bash -s -- --platform unknown-linux-musl
```

0 comments on commit 13a50b7

Please sign in to comment.