🚀 CLI tool to quickly scaffold a new 1fe instance
A command-line interface for creating new 1fe (One Frontend) instance
- Node.js 22 or higher (enforced at runtime)
- yarn package manager
# Create a new 1fe app without installing globally
npx @1fe/create-1fe-app my-awesome-app# Install globally
npm install -g @1fe/create-1fe-app
# Create a new app
create-1fe-app my-awesome-app# Install globally
yarn global add @1fe/create-1fe-app
# Create a new app
create-1fe-app my-awesome-appcreate-1fe-app <app-name># Create a new app called "my-1fe-app"
create-1fe-app my-1fe-appThis will:
- ✅ Verify Node.js version (must be 22+)
- 🔗 Clone the latest 1fe starter template
- 📁 Create a new directory with your app name
- 🧹 Remove git history to start fresh
After creating your app, follow these steps:
-
Navigate to your app directory:
cd my-app -
Install dependencies:
yarn
-
Start the development server:
yarn dev
-
Open your browser:
http://localhost:3001 -
Start building your app! 🎉
🛑 Node.js version error!
Current version: v18.16.0
Minimum required version: 22.x.x
Solution: Update to Node.js 22 or higher:
# Using nvm (recommended)
nvm install 22
nvm use 22
# Or download from https://nodejs.org/- 1fe Documentation - Complete 1fe framework docs
- Starter Template - The template this tool clones
If you have questions or want to discuss this project, please visit the Issues or Discussions pages in our monorepo.
Made with ❤️ by the 1fe team