# npm -gd install node-gypnode
# export PATH=$PATH:/usr/local/pgsql/binsql
# npm -gd install pgnpm
for test:ui
# export NODE_PATH=/usr/local/nodejs/lib/node_modulesit
# vi sender.jsconsole
var pg = require('pg');test
console.log('pg has installed successfully');require
# node senderejs
if no error, means it works ok.module