Install Gekko on Ubuntu

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 git client.
    $ sudo apt update
    $ sudo apt install -y git
  2. Install latest nodejs package from PPA.

    Follow the Install latest version of Node.js from PPA method in the below article:

  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: Counting objects: 12313, done.
    remote: Total 12313 (delta 0), reused 0 (delta 0), pack-reused 12312
    Receiving objects: 100% (12313/12313), 3.51 MiB | 2.02 MiB/s, done.
    Resolving deltas: 100% (8005/8005), done.
  4. Go to the cloned repository.
    $ cd gekko/
  5. Install required Node.js packages.
    $ npm install --only=production
    loadDep:toml → resolveWit ▐ ╢█████████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░╟
    
    > 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-v57-linux-x64/node_sqlite3.node" is installed via remote
    gekko@0.6.5 /home/user/gekko
  6. Start Gekko.
    $ node gekko --ui
    
        ______   ________  __    __  __    __   ______
       /      \ /        |/  |  /  |/  |  /  | /      \
      /$$$$$$  |$$$$$$$$/ $$ | /$$/ $$ | /$$/ /$$$$$$  |
      $$ | _$$/ $$ |__    $$ |/$$/  $$ |/$$/  $$ |  $$ |
      $$ |/    |$$    |   $$  $$<   $$  $$<   $$ |  $$ |
      $$ |$$$$ |$$$$$/    $$$$$  \  $$$$$  \  $$ |  $$ |
      $$ \__$$ |$$ |_____ $$ |$$  \ $$ |$$  \ $$ \__$$ |
      $$    $$/ $$       |$$ | $$  |$$ | $$  |$$    $$/
       $$$$$$/  $$$$$$$$/ $$/   $$/ $$/   $$/  $$$$$$/
    
    	Gekko v0.6.5
    	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.


Written by Mohd Shakir Zakaria. Last updated on 2019-03-22