New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

create-make

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-make

An advanced CLI tool for creating projects from GitHub repositories or custom templates with lightning-fast setup.

latest
Source
npmnpm
Version
0.11.0
Version published
Maintainers
1
Created
Source

create-make

npm license

An advanced CLI tool for creating projects from GitHub repositories or custom templates with lightning-fast setup.

🎥 Video Demo

Watch the video

✨ Features

  • ⚡ Blazing Fast: Clone templates directly from GitHub or local configs

  • 🎯 Interactive TUI: Beautiful terminal interface for guided project setup

  • 🔧 Custom Templates: Extend with your own templates via config file

  • 🚀 Quick Mode: Skip prompts with direct CLI arguments

  • 📁 Multi-Platform: Works on Windows, macOS, and Linux

  • 🏗️ Template Variables: Automatic project name replacement in templates

📦 Installation

Quick Use (No Installation Required)

yarn

yarn create make

npx

npx create-make

Global Installation

yarn

yarn global add create-make

npm

npm install -g create-make

🚀 Quick Start

Interactive Mode (Guided Setup)

Simply run:

yarn create make

You'll be guided through:

  • Project name (if not provided)

  • Category selection (Built-in types or custom)

  • Template selection from the chosen category

Quick Mode (Skip Prompts)

Create a project with a built-in template:

yarn create make my-project --template vite-vanilla-ts

Create a project with a custom template:

yarn create make my-project --other-template my-custom-template

📖 CLI Reference

Syntax

yarn create make <projectName> [options]

Arguments

ArgumentRequiredDescription
projectNameOptional*Name of your new project
  • Note: When using --template or --other-template, projectName is mandatory

Options

OptionAliasDescriptionValue Required
--template-tUse a built-in template (skips prompts)Yes
--other-template-oUse a custom template from config (skips to custom selection)Yes
--version-vShow version numberNo
--help-hShow help informationNo

Examples

  • Full Interactive Mode
# You'll be prompted for everything
yarn create make
  • Project Name Only
# You'll choose category and template interactively
yarn create my-awesome-project
  • Quick Creation with Built-in Template
# Skips all prompts, creates immediately
yarn create my-app --template vite-node-ts
  • Quick Creation with Custom Template
# Skips to custom template selection
yarn create make my-project --other-template my-own-custom-template
  • Show Help
yarn create make --help

🎯 Available Templates

Built-in Templates (TypeScript Category)

TemplateDescriptionTech Stack
vite-vanilla-tsVanilla TypeScript with ViteVite + TypeScript
vite-phaser-tsGame development with PhaserVite + Phaser + TypeScript
vite-node-tsNode.js backend with ViteVite + Node.js + TypeScript
vite-monorepo-tsMonorepo setup with ViteVite + Monorepo + TypeScript
vite-lib-tsTypeScript Library with ViteVite + TypeScript Library
vite-cli-tsTypeScript Cli with ViteVite + TypeScript Library

Pro Tip: Create an alias for even faster usage! Add this to your shell config:

alias cm="yarn create make"

Then use:

cm my-project -t vite-node-ts

⚙️ Configuration

Custom Templates

Add your own templates via configuration file. Custom templates appear in the "Others" category during interactive selection.

Linux:

 /home/[USER]/.local/share/create-make/config.json

MacOS:

 /Users/[USER]/Library/Preferences/create-make/config.json

Windows:

 C:\Users\[USER]\AppData\Roaming\create-make\config.json

Config File Format

Create a config.json file to add your custom templates:

{
  "$schema": "./schema.json",
  "categories": {
    "Backend": {
      "vite-node-ts": {
        "name": "Vite Node",
        "repo": "https://github.com/z-starter/vite-node-ts",
        "args": [
          {
            "str": "vite-node-ts",
            "value": "projectName"
          }
        ]
      }
    },
    "Frontend": {
      "vite-vanilla-ts": {
        "name": "Vite Vanilla",
        "repo": "https://github.com/z-starter/vite-vanilla-ts",
        "args": [
          {
            "str": "vite-vanilla-ts",
            "value": "projectName"
          }
        ]
      }
    }
  }
}

Configuration Schema

PropertyTypeDescription
namestringName of the Template
repostringGit repository URL to clone
argsarrayString replacements in template files
args[].strstringText in template files to replace
args[].valuestringValue to replace with (currently only "projectName" supported)

🎮 How It Works

graph TD
    A[Start] --> B{Project name provided?}
    B -->|No| C[Prompt for project name]
    B -->|Yes| D[Use provided name]
    C --> D
    D --> E{Template option provided?}
    E -->|--template| F[Use built-in template directly]
    E -->|--other-template| G[Use custom template directly]
    E -->|No| H[Show category selection]
    H --> I{Select category}
    I --> J[Built-in Templates]
    I --> K[Others/Custom]
    J --> L[Show built-in templates]
    K --> M[Show custom categories]
    L --> N[Select template]
    M --> N
    N --> O[Create project]
    F --> O
    G --> O

🐛 Troubleshooting

Common Issues

Q: "Template not found" error

A: Ensure the template name is spelled correctly. Built-in templates are listed above. For custom templates, check your config.json.

Q: "Project name is required" error when using --template

A: When using --template or --other-template, you must provide the project name as the first argument.

Q: Custom templates not appearing

A: Verify your config.json file is in the correct location and contains valid JSON syntax.

Q: Tool won't run

A: Ensure you have Node.js 18+ installed. Check with node --version.

🤝 Contributing

Adding New Built-in Templates

  • Fork the repository

  • Add your template to the templates directory

  • Update the template list in the code

  • Submit a pull request

Reporting Issues

Found a bug or have a feature request? Please open an issue on GitHub.

Keywords

cli

FAQs

Package last updated on 31 Mar 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts