Skip to content

Creating a Project

To create a new project, run:

sh
magic init 
#OR
magic init hello-world

Step. 1: Checkout Env

First, magic will check your device environment, and then retrieve the system template.

image

Step. 2: Select initialization type

WARNING

Beta version only supports project types

Then select the project type, as shown in the following figure. image

Input relevant information of the project according to the prompts of the CLI. image

Setp. 4: Hand over to CLI

Wait for CLI installation dependency and operation start command.This step will go through the process of template installation and rendering, which may take some time

image

Enjoy

If you se the following result, it means that the project has been successfully created and run

image

MIT Licensed