CLI

The create-freecodecamp-os-app CLI helps you scaffold and manage freeCodeCampOS courses.

Installation

No installation required — run directly with npx:

npx create-freecodecamp-os-app <command>

cargo

Requires Rust to be installed: https://www.rust-lang.org/tools/install

cargo install create-freecodecamp-os-app

Releases

Locate your platform in the releases section and download the latest version.

Usage

Create a new course

npx create-freecodecamp-os-app create

Add a project to an existing course

npx create-freecodecamp-os-app add-project

Rename a project in an existing course

npx create-freecodecamp-os-app rename-project

Validate the course configuration files

npx create-freecodecamp-os-app validate

Note

The version of the CLI is tied to the version of freecodecamp-os. Some options may not be available if the CLI version is not compatible with the installed version of freecodecamp-os.