summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorDaniel Lo Nigro <daniel@dan.cx>2020-04-10 10:58:10 -0700
committerGitHub <noreply@github.com>2020-04-10 19:58:10 +0200
commit5b8f869e5ed1d314e6ccf6244e154452b777dcb2 (patch)
tree5bc08e942ce9b84c061209ee4c95bf0fed6cb1e8 /docs
parent19e8301ff1bb10393c5c67ebb19c1324de126c93 (diff)
docs: Add details about musl build to readme (#997)
* Add details about musl build to readme * Move details to FAQ
Diffstat (limited to 'docs')
-rw-r--r--docs/faq/README.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/faq/README.md b/docs/faq/README.md
index 6d5674bec..bc758c89a 100644
--- a/docs/faq/README.md
+++ b/docs/faq/README.md
@@ -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
+```