Getting Started > Installing the Jive Node SDK

Version 36

    The following instructions describe how to set up the Jive Node SDK on your local development machine. The Jive Node SDK runs on Mac OS, Windows, Ubuntu, Red Hat, CentOS and requires Node.js (version 0.10.x or higher).

     

     

    OSX

    1. Install Homebrew:

      /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

    2. Install Node.js using Homebrew:

      brew install node

    3. Install the Jive-SDK for Node.js (use the -g option to install globally):

      sudo npm install -g jive-sdk

     


     

    Windows

    1. Download Node.js that correct version compiled for your processor architecture and OS using instructions specified at the Node.js website.
    2. Right-click the installer and select "Run as administrator".
    3. Open terminal and type/paste (use the -g option to install globally):

      npm install -g jive-sdk

     


     

    Linux

    Red Hat & CentOS

    1. Download Node.js that correct version compiled for your processor architecture and distro using instructions specified at the Node.js website.
    2. Install the Jive-SDK for Node.js (use the -g option to install globally):

      sudo npm install -g jive-sdk

     

    Ubuntu

    1. Install Node.js current release using Ubuntu's package manager:

      sudo apt-get install nodejs

    2. Install the Node.js package manager:

      sudo apt-get install npm

    3. Create a symbolic link for Node:

      sudo ln -s /usr/bin/nodejs /usr/bin/node

    4. Install the Node Jive-SDK:

      sudo npm install -g jive-sdk

     


     

    Cloud-Based IDE

     


    Uninstalling Node.JS (system installed)

    If you need to uninstall Node.JS or want to use NVM (see below) to have different versions of Node accessible on your machine for compatibility, use the instructions below. It is HIGHLY recommended to uninstall your default system installed instance of Node.JS and use NVM to have multiple version on your machine for compatibility reasons.

     

    Mac:

    sudo rm -rf /usr/local/{lib/node{,/.npm,_modules},bin,share/man}/{npm*,node*,man1/node*}

    sudo rm -rf /usr/local/bin/npm /usr/local/share/man/man1/node* /usr/local/lib/dtrace/node.d ~/.npm ~/.node-gyp /opt/local/bin/node opt/local/include/node /opt/local/lib/node_modules

     

    PC:

    Control Panel --> Add/remove programs -->uninstall node.js

     

    Ubuntu:

    sudo apt-get remove nodejs

    sudo apt-get clean

     


     

    NVM: Multiple Versions on One Machine

    This is our recommended method for running Node.JS. If you are going to use NVM, you must uninstall your system installed (e.g. if you installed from the download off from nodejs.org's site)—please see the uninstall instructions above. Follow the documentation on NVM for how to install and use different versions of Node.JS.

     

    Mac

    curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.31.2/install.sh | bash

     

    Windows

    Goto and follow: https://github.com/coreybutler/nvm/releases

     

    Linux

     


     

    Proxy Through Firewall

    If you are running behind a firewall, follow these steps:

    1. Modify the .npmrc file in your home directory ("~/.npmrc" on Mac, Linux;  "\Users\<username>\.npmrc" on Windows).
    2. Add the following lines, replacing the values in <brackets> with your proxy information:

      proxy = http://<proxy_username>:<Proxy_password>@<proxy_url>:<proxy_port>/

      https-proxy = http://<proxy_username>:<Proxy_password>@<proxy_url>:<proxy_port>/

      registry = http://registry.npmjs.org/

     


     

    What's Next?