gauge-maxQuick Start Guide

Get up and running with DevHub CLI in minutes. This guide will walk you through creating your first project.

Creating Your First Project

  1. Open your terminal and navigate to where you want to create your project

  2. Run:

devhub create

You'll see the DevHub CLI welcome screen and be prompted to:

  • Enter a project name

  • Select a project template

  • Configure template-specific options

Project Creation Flow

1. Project Name

? What is your project name? my-first-project

Enter a name for your project. The name should:

  • Only contain letters, numbers, underscores, and hashes

  • Be descriptive and easy to remember

  • Not contain spaces

2. Template Selection

Use arrow keys to select your template and press Enter.

3. Template-Specific Options

For HTML/CSS Projects

For Electron Projects

For Vue.js Projects

What Happens Next?

DevHub CLI will:

  1. Create the project structure in your current directory

  2. Install all necessary dependencies (for HTML, React, and Electron projects)

You'll see progress indicators for each step:

Running Your Project

After creation, for HTML, React, and Electron projects:

  1. Navigate to your project directory:

  1. Start the development server:

For FiveM and RedM resources:

  • The resource will be created in your current directory

  • Copy the resource to your server's resources folder

  • Add it to your server.cfg

Tips & Tricks

  • Use the spacebar to select multiple options in the checkbox prompts

  • Press Tab to auto-complete project names in the terminal

  • Use arrow keys to navigate through previous commands

  • The CLI will automatically check for updates when you run commands

Last updated