# Create subtheme by script ( recommended )

Using the command line, you can conveniently create a subtheme by following the commands given.

```php
# Run from theme root, e.g. "themes/custom/provus_bootstrap".
# Make script executable.
chmod +x scripts/create_subtheme.sh
# Run script with interactive prompts.
./scripts/create_subtheme.sh
```

**Note:** You will be prompted to provide a unique name for your subtheme when running the script.

After running the above scripts, search the codebase of your new subtheme to look for "Provus" and alter any remaining textual references to match your sub-theme.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://promet-source.gitbook.io/provus/getting-started/theming/create-subtheme-by-script-recommended.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
