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

create-next-lite-app

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-next-lite-app

Create Next-Lite apps with one command

latest
Source
npmnpm
Version
0.5.1
Version published
Maintainers
1
Created
Source
Next-Lite Logo

Create Next-Lite App

The easiest way to get started with Next-Lite

npm version npm downloads license

create-next-lite-app is a CLI tool that enables you to quickly start building a new Next-Lite application, with everything set up for you. It provides an intuitive, interactive experience to create new projects with zero configuration needed.

Usage

You can create a new Next-Lite app in several ways, depending on your preferred package manager:

npx create-next-lite-app my-app

Using yarn

yarn create next-lite-app my-app

Using pnpm

pnpm create next-lite-app my-app

Using flash-install (fastest installation)

# First install flash-install if you don't have it
npm install -g @flash-install/cli

# Then create your app with the --use-flash flag
npx create-next-lite-app my-app --use-flash

Interactive Mode

Running the command without a project name launches interactive mode:

npx create-next-lite-app

This will guide you through the setup process with prompts for:

  • Project name
  • TypeScript support
  • Package manager preference
  • Template selection

Options

create-next-lite-app comes with the following options:

OptionDescription
--typescriptInitialize as a TypeScript project with proper tsconfig and type definitions
--use-npmUse npm as the package manager (default)
--use-yarnUse yarn as the package manager for faster installations
--use-pnpmUse pnpm as the package manager for efficient disk space usage
--use-flashUse flash-install for 10-20x faster dependency installation
--template <name>Specify a template for the created project (default, minimal, etc.)
--example <name>Create project from an example in the Next-Lite repository
--skip-installSkip installing dependencies (useful for CI environments)

Examples

# Create a TypeScript project
npx create-next-lite-app my-app --typescript

# Create a project with yarn
npx create-next-lite-app my-app --use-yarn

# Create a project from an example
npx create-next-lite-app my-app --example with-tailwind

# Create a project with a specific template and skip installation
npx create-next-lite-app my-app --template minimal --skip-install

Why use Create Next-Lite App?

create-next-lite-app allows you to create a new Next-Lite app within seconds. It includes a number of benefits:

  • Interactive Experience: Running npx create-next-lite-app (with no arguments) launches an interactive experience that guides you through setting up a project.
  • Zero Dependencies: Start with a zero-dependency framework that's blazing fast.
  • Offline Support: Create Next-Lite App will automatically detect if you're offline and bootstrap your project using your local package cache.
  • Support for Examples: Create a project from an example in the Next-Lite repository.
  • Tested: The package is part of the Next-Lite monorepo and tested using the same integration test suite as Next-Lite itself, ensuring it works as expected with each release.

Documentation

Visit https://github.com/Nom-nom-hub/next-lite-main/wiki to view the full documentation.

Contributing

We'd love your help improving create-next-lite-app! See our contributing guide to learn about our development process and how to propose bug fixes and improvements.

Keywords

next-lite

FAQs

Package last updated on 26 Apr 2025

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