Skip to main content
Version: 1.0.0

CLI Options

create​

Create a new Farm project.

pnpm create farm
# or npm create farm
# or yarn create farm
# choose your favorite package manager

Other commands are provided by package @farmfe/cli:

start​

Start a dev server, compile the Farm project in development mode and watch file changes.

farm start

build​

Build a Farm project in production mode

farm build

preview​

Preview the result of build command.

farm build && farm preview

watch​

Watch is usually used to compile a library project, it works Like start command but it does not launch a dev server.

farm build
Extremely Fast Web Build Tool Written in Rust

Copyright Š 2024 Farm Community. Built with Docusaurus.