MDB GO / CLI Quick Start

This short tutorial shows how to get started with MDB CLI and MDB 5 quickly and how to use its full potential.


Note: To use MDB CLI you must create a free account at MDBootstrap.com
So if you don't have an account yet, create one now. It will take you only a few seconds.

Create a free MDB account

Note 2: You also need to have NPM installed. If you don't have one - watch our short 1-minute NPM installation tutorial.

Watch the NPM installation tutorial


Do you already have an MDB account and have NPM installed? Great, you can start our Quick Start and start using the full possibilities offered by MDB CLI.

Click the video on the right and watch MDB Quick Start Tutorial

Quick Start written version:


Quick start

To show the simplicity of using MDB CLI tool, we have prepared an ultra-short tutorial which covers all required steps to create and publish MDB project. Down below the short version you can find comprehensive version including detailed description.

Note : In order to use MDB CLI you have to have npm installed. If you don't have it please check this tutorial first

1. Install CLI:

        
            
              npm install -g mdb-cli
            
        
    

2. Log into the CLI using your MDB account:

        
            
              mdb login
            
        
    

Please provide your MDB username and password which you use to login on our website.

Note! Currently MDB CLI supports following terminals, make sure that you are using one of them:

  • Mac OS:
    • Terminal.app
    • iTerm
  • Windows:
    • ConEmu
    • cmd.exe
    • Powershell
    • Cygwin
  • Linux (Ubuntu, openSUSE, Arch Linux, etc):
    • gnome-terminal (Terminal GNOME)
    • konsole

3. Initialize a project:

        
            
              mdb init
            
        
    

Please use arrows to move up and down to choose desired project

4. Publish your project:

        
            
              mdb publish
            
        
    

Now you can visit the link which is displayed on your screen, which is similar to this one: https://mdbgo.io/projects/{username}/{projectName}/

You're done. You have just created and published an MDB project in 3 steps. Cool, isn't it?

If you are not familiar with how to install the MDB CLI tool or need better explanation or more commands, please visit this website