doc/npm.md: Update docs for Alpine Linux (#2479)

This commit is contained in:
Oxylibrium 2020-12-18 18:08:36 +00:00 committed by GitHub
parent cb446666fa
commit ceb8eb8f39
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

View File

@ -4,6 +4,7 @@
- [Ubuntu, Debian](#ubuntu-debian)
- [Fedora, CentOS, RHEL](#fedora-centos-rhel)
- [Alpine](#alpine)
- [macOS](#macos)
- [FreeBSD](#freebsd)
@ -36,6 +37,13 @@ sudo yum install -y python2 libsecret-devel libX11-devel libxkbfile-devel
npm config set python python2
```
## Alpine
```bash
apk add alpine-sdk bash libstdc++ libc6-compat libx11-dev libxkbfile-dev libsecret-dev
npm config set python python3
```
## macOS
```bash