Install Gekko on CentOS / Red Hat

Gekko is an opensource, Node.js application for Bitcoin trading. The application is available on Github. As such you'll need to install both nodejs and git in order to run Gekko with these simple steps:

  1. Install latest nodejs package from NodeSource repository.

    Follow the Install latest version of Node.js for Centos / Red Hat from NodeSource repository method in the below article:

  2. Install git client.
    $ sudo yum install -y git
  3. Go to your preferred installation directory and clone Gekko from it's Github repository.
    $ git clone git://github.com/askmike/gekko.git -b stable
    Cloning into 'gekko'...
    remote: Enumerating objects: 14692, done.
    remote: Total 14692 (delta 0), reused 0 (delta 0), pack-reused 14692
    Receiving objects: 100% (14692/14692), 5.11 MiB | 1.51 MiB/s, done.
    Resolving deltas: 100% (9652/9652), done.
  4. Go to the cloned repository.
    $ cd gekko/
  5. Install required Node.js packages.
    $ npm install --only=production
    
    > sqlite3@4.0.2 install /home/user/gekko/node_modules/sqlite3
    > node-pre-gyp install --fallback-to-build
    
    node-pre-gyp WARN Using request for node-pre-gyp https download
    [sqlite3] Success: "/home/user/gekko/node_modules/sqlite3/lib/binding/node-v64-linux-x64/node_sqlite3.node" is installed via remote
    added 213 packages from 175 contributors and audited 520 packages in 16.725s
    found 1 low severity vulnerability
      run `npm audit fix` to fix them, or `npm audit` for details
  6. Start Gekko.
    $ node gekko --ui
    
        ______   ________  __    __  __    __   ______
       /      \ /        |/  |  /  |/  |  /  | /      \
      /$$$$$$  |$$$$$$$$/ $$ | /$$/ $$ | /$$/ /$$$$$$  |
      $$ | _$$/ $$ |__    $$ |/$$/  $$ |/$$/  $$ |  $$ |
      $$ |/    |$$    |   $$  $$<   $$  $$<   $$ |  $$ |
      $$ |$$$$ |$$$$$/    $$$$$  \  $$$$$  \  $$ |  $$ |
      $$ \__$$ |$$ |_____ $$ |$$  \ $$ |$$  \ $$ \__$$ |
      $$    $$/ $$       |$$ | $$  |$$ | $$  |$$    $$/
       $$$$$$/  $$$$$$$$/ $$/   $$/ $$/   $$/  $$$$$$/
    
    	Gekko v0.6.6
    	I'm gonna make you rich, Bud Fox.
    
    
    Serving Gekko UI on http://localhost:3000/

    If you receive version error such as the following, make sure to install the latest Node.js from PPA.

     ERROR: Your local version of Node.js is too old. You have v8.10.0 and you need atleast >=8.11.2
  7. Open your web browser and go to http://127.0.0.1:3000/ to access the web interface.

Sign up for Bitcoin Trading Masterclass: The Complete Bitcoin Course and many other great courses on Udemy to learn more.

Bitcoin Trading Masterclass: The Complete Bitcoin Course

Learn to trade Bitcoin & Altcoins, develop a systematic trading process & understand the Bitcoin blockchain!

Written by Mohd Shakir Zakaria.

Last updated on 2019-03-26.