Quick Start
This guide shows how to quickly get started with Molybden SDK.
Prerequisites
- Install Node.js version 16.0 or higher.
- Install Visual Studio 2019 Community Edition. When asked which workloads to install, ensure C++ build tools and the Windows 10 SDK are selected.
- Install Node.js version 16.0 or higher.
- Install XCode or just the Command Line Tools if you don’t need an IDE.
- Install Node.js version 16.0 or higher.
- Install GCC or Clang that supports C++11 or later:
sudo apt install build-essential
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:
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!
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.