Quickly scaffold a modern Roku app, including the best practices to enhance your development experience.
This project assumes that you will be using VSCode for development.
npx create-roku-app
npx create-roku-app --name "My App" --recommended
-
Select a language
-
BrighterScript (recommended): A superset of the BrightScript language that includes modern features like classes, namespaces, compiler plugins and more. Compiles to Vanilla BrightScript.
-
Vanilla BrightScript: The old reliable language provided by Roku.
-
-
Linter and formatter
-
Install both (recommended)
-
Install linter only (bslint)
-
Install formatter only (brighterscript-formatter)
-
Not this time.
-
-
Enable SceneGraph Inspector: A faster and more insightful SceneGraph inspector within the Visual Studio Code plugin.
-
Enable (recommended)
-
Not this time.
-
-
Run
git init
? (y/n) -
Run
npm install
? (y/n)
These are only available as CLI --flags
and will not appear on the questions list
-
--name
: Shortcut to set the name of your project. -
--pm
: Set the package manager that will be used to install dependencies, if necessary. Values:npm
(default) |yarn
|pnpm
. -
--recommended
: Start a project with the recommended options values. -
--vanilla
: Start a project with minimal options and dependencies.
You can see our issues list for things that need to be implemented. For any questions ping me (@arturocuya) on the Roku Developers Slack channel.