We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f903e14 commit b10d8f8Copy full SHA for b10d8f8
1 file changed
docs/install.md
@@ -98,6 +98,14 @@ use the following flags:
98
npm install --arch=x64 --platform=linux --libc=glibc sharp
99
```
100
101
+Multiple platforms and architectures can be supported within the same installation tree.
102
+The following example for macOS installs x64 binaries then adds (via a rebuild) arm64 binaries:
103
+
104
+```sh
105
+npm install --platform=darwin --arch=x64 sharp
106
+npm rebuild --platform=darwin --arch=arm64 sharp
107
+```
108
109
## Custom libvips
110
111
To use a custom, globally-installed version of libvips instead of the provided binaries,
0 commit comments