Installing the The Ganache GUI | Episode 13

Julien Klepatch

What is Ganache?

Ganache is a tool for ethereum dapp developers, supported by the Truffle team. It has 2 components:

  • The Ganache CLI
  • The Ganache GUI

Ganache CLI allows you to run a local ethereum blockchain on your computer. This blockchain is only local and not connected to any public testnet, nor the mainet. This is great for local development because you have absolute control over this local blockchain: you can create it, restart it, create pre-funded accounts and more. Ganache CLI is already included in Truffle, so you don’t need to install it.

Ganache GUI is a visual interface for Ganache CLI. It has many features, but can be generally described as a blockchain explorer. It is built with electron and can run as a stand-alone desktop app.

Error: Your Requested widget " sendgrid_nlvx_widget-2" is not in the widget list.
  • [do_widget_area documentation]
    • [do_widget_area widgets_footer_1]
      • [do_widget_area widgets_footer_2]
        • [do_widget_area widgets_footer_3]
          • [do_widget_area widgets_footer_4]
            • [do_widget_area widgets_for_shortcodes]
              • [do_widget id="sendgrid_nlvx_widget-2"]
            • [do_widget_area wp_inactive_widgets]
              • [do_widget id="tommusrhodus_nav_menu-2"]
              • [do_widget id="custom_html-2"]
              • [do_widget id="sub_categories_widget-2"]
              • [do_widget id="tag_cloud-2"]
              • [do_widget id="archives-3"]
              • [do_widget id="search-1"]
              • [do_widget id="recent-posts-1"]
              • [do_widget id="recent-comments-1"]
              • [do_widget id="archives-4"]
              • [do_widget id="categories-1"]
              • [do_widget id="meta-1"]
              • [do_widget id="text-2"]

            How about testrpc?

            In previous episodes, I used a tool called testrpc instead of Ganache CLI. The testrpc npm package still exists but the development has been moved to Ganache CLI.

            Installing Ganache GUI

            The first step is to install Ganache GUI on your computer. On the home page of Ganache, there is a button to download an app file. There are specific formats for Windows, Linux and Mac. I tried on Linux and Windows this method, but it failed. You might have more luck than me, but if you want to save yourself some troubles, I would recommend to run it directly from the source code.

            For this, first open a terminal window, create a folder for ganache and clone the source code:

            mkdir ~/ganache
            git clone

            This will download the latest version of the develop branch. If you want to use something more stable, you might prefer to download the latest release version instead.

            Once this is done, in the same folder install the required dependencies:

            npm install

            The install process might take a while, so feel free to let the task run on its own and come back to it later.

            Once this is done, you will be able to run the Ganache GUI like this:

            npm start

            A window will open, and will ask you if you agree to send analytics data to Truffle, the organization which created Ganache. Agree or disagree to send them this analytics data, click on the continue button, and you should finally see the home page of Ganache!

            Congrats! In the next episode, we will see how to use Ganache.


            1. Philip
              July 18, 2018

              Hi! Thanks for that!
              When I start ganache through the cli I can give the command the parameter "--account" the tell the script which accounts should be created. Is it somehow possible with ganache gui?

              • jklepatch
                July 18, 2018

                Hi Philip,

                In Ganache GUI it is indeed possible to set which account to use by setting the seed phrase. I explain this in this video:




            Leave a Reply

            More great articles

            ToDo List Ethereum Dapp (Step4) | Setup The Frontend & Read Account Data

   This tutorial is part of the series ToDo List Ethereum Dapp. It is the Step 4. Tutorials already published:…

            Read Story

            ToDo List Ethereum Dapp (Step7) | Read Contract data from Frontend

            This tutorial is part of the series ToDo List Ethereum Dapp. This is the Step 7. Tutorials already published: (more…)

            Read Story

            Remix debugger – Advanced

            In this video I will show you some advanced features of the Remix Debugger like: stepping over functions breakpoints These…

            Read Story

            Never miss a minute

            Get great content to your inbox every week. No spam.
            [contact-form-7 id="6" title="Footer CTA Subscribe Form"]