How to install Gekko on Ubuntu
Gekko is an opensource, Node.js application for Bitcoin trading and is hosted on Github.
To install Gekko on Ubuntu, you'll need to first install nodejs and git.
Steps to install Gekko on Ubuntu and Debian:
-
Launch terminal.
-
Update apt's package list.
$ sudo apt update
-
Install git client via apt.
$ sudo apt install --assume-yes git
Related: How to install Git on Ubuntu
-
Install latest nodejs package from PPA.
-
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.
-
Go to the cloned repository.
$ cd gekko/
-
Install required Node.js packages.
$ npm install --only=production loadDep:toml → resolveWit ▐ ╢█████████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░╟ > [email protected] 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 [email protected] /home/user/gekko
-
Start Gekko UI.
$ 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
-
Open Gekko UI URL on your preferred web browser.