New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

eniem-cli

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eniem-cli

Interactive CLI wizard for scaffolding Eniem projects

latest
Source
npmnpm
Version
2.0.1
Version published
Weekly downloads
1
-88.89%
Maintainers
1
Weekly downloads
 
Created
Source

eni

Interactive CLI for scaffolding and managing Eniem projects.

  • Website: eniem.dev
  • Documentation: doc.eniem.dev

Installation

npm install -g eniem-cli

Or run directly without installing:

pnpm dlx eniem-cli my-app
npx eniem-cli my-app

Usage

Create a new project

eni [project-name]
OptionDescription
--app-nameDisplay name for the app (skips the interactive prompt)
--sshClone via SSH instead of auto-detecting gh/git HTTPS
--git-hostSSH host alias from ~/.ssh/config (implies --ssh, default: github.com)
--help, -hShow help message
--version, -vShow version number
# Interactive wizard
eni my-app

# Skip the display-name prompt
eni my-app --app-name "My App"

# Force SSH clone with a custom host alias
eni my-app --git-host github.com-work

The wizard configures project name, OAuth providers (GitHub, Twitter), payments (Polar), storage (DigitalOcean Spaces), and analytics (Umami, PostHog).

Generate a production .env

Run from inside an Eniem project directory. Walks you through filling in each environment variable interactively and writes the result to .env.production.

eni ready

Manage Polar products

Run from inside an Eniem project directory.

eni products [options]
OptionDescription
--envEnvironment: sandbox or production (default: sandbox)
--prodShorthand for --env=production
--tokenPolar access token (bypasses .env lookup)
eni products
eni products --prod
eni products --prod --token=polar_xxx

Products are stored in polar/products.sandbox.json and polar/products.production.json, with TypeScript exports generated in src/features/billing/generated/products.generated.ts.

Import generated helpers from the billing generated module:

import { getCheckoutProducts } from "@/features/billing/generated/products.generated";

Migration note: Older Eniem projects may have a stale generated products file under the former subscription feature. Regenerate with the current CLI, update imports to @/features/billing or @/features/billing/generated/products.generated, then remove the stale file.

License

MIT

FAQs

Package last updated on 15 Jun 2026

Related posts