Skip to content

Commit

Permalink
Docs: add section for Apple M1 users #2460
Browse files Browse the repository at this point in the history
  • Loading branch information
lovell committed Jan 6, 2021
1 parent d6376c3 commit 138e60a
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
12 changes: 12 additions & 0 deletions docs/install.md
Expand Up @@ -56,6 +56,18 @@ The `npm install --ignore-scripts=false` flag must be used when `npm` has been c

Check the output of running `npm install --verbose sharp` for useful error messages.

## Apple M1

libvips must currently be installed via Homebrew before installing sharp.

```sh
brew install vips
```

When this new ARM64 CPU is made freely available
to open source projects via a CI service
then prebuilt binaries can be provided.

## Custom libvips

To use a custom, globally-installed version of libvips instead of the provided binaries,
Expand Down

0 comments on commit 138e60a

Please sign in to comment.