Skip to content

Commit

Permalink
update installation info in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
zbjornson committed Jun 19, 2024
1 parent 3f3b2e6 commit 8894635
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,14 @@ node-canvas is a [Cairo](http://cairographics.org/)-backed Canvas implementation
$ npm install canvas
```

By default, binaries for macOS, Linux and Windows will be downloaded. If you want to build from source, use `npm install --build-from-source` and see the **Compiling** section below.
By default, pre-built binaries will be downloaded if you're on one of the following platforms:
- macOS x86/64 (*not* Apple silicon)
- Linux x86/64 (glibc only)
- Windows x86/64

The minimum version of Node.js required is **10.20.0**.
If you want to build from source, use `npm install --build-from-source` and see the **Compiling** section below.

The minimum version of Node.js required is **18.12.0**.

### Compiling

Expand Down

0 comments on commit 8894635

Please sign in to comment.