Getting Started

Getting Started

To get started with the SDK, install it on your computer and then try a simple example, Hello Couchbase.

The Hello Couchbase app shows how to perform some simple database operations.

Installing the Node.js SDK

Installing Couchnode is similar to installing most other Node.js modules. Use npm to install the couchbase module:

$ npm install couchbase
Note: On non-Windows platforms, you must have node-gyp installed and a build environment available because the Couchbase SDK module takes advantage of V8 add-on capabilities (written in C/C++). On Windows, the module comes with prebuilt libraries.