Rocketlane CLI

The Rocketlane CLI (RLI) is the official command-line tool for building, testing, and deploying apps for the Rocketlane Marketplace. It streamlines your development workflow with a suite of easy-to-use commands for initializing projects, starting local development, and deploying to production.

Quick Start

  1. Install RLI globally:
npm install -g @rocketlane/rli
  1. Log in to Rocketlane:
rli login
  1. Initialize a new app:
rli init my-rocketlane-app
  1. Start development:
cd my-rocketlane-app
rli dev
  1. Build and deploy your app:
rli build
rli deploy

CLI Command Reference

  1. rli login

Authenticate with your Rocketlane account.

Options:

-t, --token <string>: Provide an authentication token directly


  1. rli logout

Log out from your Rocketlane account.

  1. rli init

Initialize a new Rocketlane app project.

Options:

  • -t, --template <string>: Select a template (default: "basic")
  • -d, --dir <string>: Specify the target directory

For more options, run:

rli init --help

  1. rli dev

Start the local development server to preview your Rocketlane app.

  1. rli build

Build the app for deployment.

  1. rli deploy

Deploy your built app to the Rocketlane Marketplace.

  1. rli list

View a list of all apps associated with your Rocketlane account.


License

This CLI is licensed under a private license. Please refer to Rocketlane’s developer terms for usage and contribution guidelines.


Tips & Notes

  • Always run rli build before deploying to ensure your app is production-ready.
  • Use rli list to quickly verify deployment status and app identifiers.
  • Use version control for your app directories to manage changes alongside RLI commands.

What’s Next