Contents

Quick Start

This guide shows how to quickly get started with Molybden SDK.

Prerequisites

  • Ubuntu 22.04 64-bit or later.
  • Install Node.js version 16.0 or higher.
  • Install GCC or Clang that supports C++20 or later:
    sudo apt install gcc
    

Creating a Molybden app

Make sure your current working directory is the one where you intend to create a project. Run the following command in your command line:

npm create molybden-app@latest

This command will install and execute create-molybden-app, the official Molybden project scaffolding tool. You will be presented with prompts for your project/application name (e.g. MyApp), the preferred frontend framework (e.g. Vanilla) and language (e.g. JavaScript) for creating application user interface:

Molybden CLI

Once the project is created, follow the instructions to install dependencies and run your first Molybden app in development mode:

cd MyApp
npm install
npm run molybden dev

You should now have your first Molybden app running!

Molybden app

When you are ready to ship your app to production, run the following:

npm run molybden build

This command will create a production-ready build of your application in a native executable format and place it in the project’s ./build-dist/bin directory.

Next steps

Now that you have created a Molybden project, you can follow the Tutorial where you will learn how to create your first Molybden app.

On this page
Top