You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[**Users**](#installation--users) | [**Contributors and Development**](#installation---contributors-and-development) | [**Maintainers**](#for-maintainers-creating-a-release)
11
+
[**Users**](#installation---users) | [**From Source**](#installation---from-source) | [**Contributors and Development**](#installation---contributors-and-development) | [**Maintainers**](#for-maintainers-creating-a-release)
12
12
13
13
**zeromq**: Your ready to use, prebuilt [ØMQ](http://www.zeromq.org/)
14
14
bindings for [Node.js](https://nodejs.org/en/).
@@ -40,25 +40,26 @@ npm install zeromq
40
40
41
41
Now, prepare to be amazed by the wonders of binaries.
42
42
43
+
## Installation - From Source
43
44
44
-
## Installation - Contributors and Development
45
+
If you want to use `zeromq` inside your [Electron](http://electron.atom.io/) application
46
+
or if you are working on a Linux 32-bit system, you have to build `zeromq` from source.
45
47
46
-
To set up `zeromq` for development, fork this repository and
47
-
clone your fork to your system.
48
+
### Prerequisites
48
49
49
-
**Prerequisites for Linux**
50
+
**Linux**
50
51
-`python` (`v2.7` recommended, `v3.x.x` is not supported)
51
52
-`make`
52
53
- A proper C/C++ compiler toolchain, like [GCC](https://gcc.gnu.org/)
53
54
54
55
Use your distribution's package manager to install.
55
56
56
-
**Prerequisites for macOS**
57
+
**macOS**
57
58
58
59
-`python` (`v2.7` recommended, `v3.x.x` is not supported): already installed on Mac OS X
59
60
-`Xcode Command Line Tools`: Can be installed with `xcode-select --install`
60
61
61
-
**Prerequisites for Windows**
62
+
**Windows**
62
63
63
64
-**Option 1:** Install all the required tools and configurations using Microsoft's [windows-build-tools](https://github.com/felixrieseberg/windows-build-tools) by running `npm install -g windows-build-tools` from an elevated PowerShell (run as Administrator).
64
65
-**Option 2:** Install dependencies and configuration manually
@@ -72,7 +73,38 @@ Use your distribution's package manager to install.
72
73
3. Launch cmd, `npm config set msvs_version 2015`
73
74
74
75
75
-
**Installation**
76
+
### Installation
77
+
78
+
Now you can install `zeromq` with the following:
79
+
80
+
```bash
81
+
npm install zeromq
82
+
```
83
+
84
+
85
+
### Rebuilding for Electron
86
+
87
+
If you want to use `zeromq` inside your [Electron](http://electron.atom.io/) application
88
+
it needs to be rebuild against Electron headers.
89
+
90
+
We highly recommend [`electron-builder`](https://github.com/electron-userland/electron-builder)
91
+
which handles this automatically.
92
+
93
+
If you don't want to use `electron-builder` you can rebuild `zeromq` manually by running:
0 commit comments