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
Sean Lavine edited this page Apr 7, 2014
·
3 revisions
Module Installation
To install pg, run the following:
npm install pg
Dependencies for Native Bindings
Ubuntu
Installation of this module via apt-get requires native bindings; and compilation is required even if you do not plan to use the native interface. Thus the following command is mandatory.
To install the dependencies in Ubuntu:
sudo apt-get install libpq-dev build-essential
The above also appears to be sufficient. Specifically, a working installation of PostgreSQL is not required on the same machine running Node.