API REFERENCE

Rasengan CLI

The Rasengan CLI is a command-line interface integrated natively in Rasengan.js. It provides a set of commands to help you with your development workflow.


To use the CLI, you have to pass through the scripts property in your package.json file.

Commands

rasengan dev

The rasengan dev command starts the development server.

First, you need to set the dev script in your package.json file.

package.json
json{ "scripts": { "dev": "rasengan dev" } }

Then, you can run the following command:

Terminal
bashnpm run dev

This will start the application in dev mode. The application will be available at http://localhost:5320.


The default port can be changed with -p option, like follow:

package.json
json{ "scripts": { "dev": "rasengan dev -p 3000" } }

or just

Terminal
bashnpm run dev -- -p 3000

rasengan build

The rasengan build command builds the application for production.

First, you need to set the build script in your package.json file.

package.json
json{ "scripts": { "build": "rasengan build" } }

Then, you can run the following command:

Terminal
bashnpm run build
Create Rasengan CLI

Subscribe to the Newsletter

Stay informed to the news about rasengan.js including new releases, events, etc...

© 2025 Rasengan Labs, All rights reserved.