 <p>After have run the command: npm install orientjs</p> <p>Save this code in a file.js:</p> <pre><code>var OrientDB = require('orientjs'); var server = OrientDB({ host: 'localhost', port: 2424, username: 'root', password: 'root' }); var db = server.use({ name: 'GratefulDeadConcerts', username: 'root', password: 'root' }); server.close(); </code></pre> <p><strong>UPDATE</strong></p> <pre><code>var OrientDB = require('orientjs'); var server = OrientDB({ host: 'localhost', port: 2424, username: 'root', password: 'root' }).use({ name: 'GratefulDeadConcerts', username: 'root', password: 'root' }); server.close(); </code></pre> <p>Hope it helps</p>