Commands
This document provides an overview of the commands available in the Nitro Module CLI.
Usage
Usage: create-nitro-module [options] [name]
A CLI tool that simplifies creating React Native modules powered by Nitro Modules.
Arguments:
name name of the module to create
Options:
-v, --version output the version number
-d, --module-dir <moduleDirectory> directory to create the module in
-e, --skip-example skip example app generation
-i, --skip-install skip installing dependencies
-h, --help display help for command
Example
- Bun
- Npx
- Pnpm
- Yarn
bun create nitro-module@latest my-awesome-module
npx create-nitro-module@latest my-awesome-module
pnpm create nitro-module@latest my-awesome-module
yarn create nitro-module@latest my-awesome-module
For additional support, please open an issue on our GitHub repository.