Installing the CLI

Installing the Framework7 CLI and Creating a Project

The Framework7 CLI 89 is the npm 2,036 package framework7-cli (github.com/framework7io/framework7-cli (https://github.com/framework7io/framework7-cli 89 ), MIT licensed), current at 9.0.2 (February 2026). It installs the commands framework7 and f7. Its projects use Vite 8 25,978 , which needs Node.js 20.19 2,131 + or 22.12+ (22.22.1 here). The CLI writes into the current folder, so create the folder first.

Installing the CLI and creating BookNestShell
sudo npm install -g framework7-cli
framework7 --version
mkdir booknest-f7 && cd booknest-f7
framework7 create
Output
...
9.0.2
✔ All good, you have latest framework7-cli version.
? What type of the app are you targeting? Simple web app, PWA (Progressive Web App)
? App (project) name: BookNest
? What type of framework do you prefer? Framework7 Core
? Choose starter template: Single View
? Should we setup project with bundler? Vite (recommended)
? Do you want to setup CSS Pre-Processor No, i am good with CSS
? Do you want to specify custom theme color? Yes, i want to specify my brand color
? Enter custom theme color in HEX format (e.g. ff0000) b3541e
? Do you want to include Framework7 Icons and Material Icons icon fonts? Yes, include icon
  fonts
✔ Generating package.json
...
✔ Done! 💪

The first prompt is a checkbox list: press Space to tick each type, then Enter. If you press Enter at once, you get only "Simple web app", ticked by default. npx framework7-cli create works without a global install. framework7 create --help lists three flags: --ui opens a browser-based builder on port 3001 (--port changes it), and --skipUpdate skips the version check on the first line.