Skip to main content
Take a look at the live Drupal demo site. 🚀
Webhaven

Main navigation

  • Home
  • Who it's for
    • For Experts
    • For Agencies
    • For Starters
  • ROI calculator
  • Docs
  • Get Webhaven

Breadcrumb

  1. Home
  2. Webhaven documentation
  3. Get started
  4. Webhaven commands

Documentation

  • Documentation
    • Welcome
  • Get started
    • What is Webhaven?
    • Install with DDEV
    • Install without DDEV
    • Webhaven commands
    • Deploying your site
  • Configuration
    • Drupal Canvas
    • Multilingual
    • Site settings
  • Theming
    • Introduction
    • Theme structure
    • Create a custom theme
    • Single Directory Components (SDC)
    • Component structure
    • An example component
  • Handy resources
    • Roadmap
    • What are Drupal recipes?
    • What is a Drupal site template?
    • What is Drupal Canvas?
    • Drupal Canvas vs Layout Builder vs Paragraphs
    • What is DDEV?
    • Useful DDEV commands
    • What is Drush?
    • Useful Drush commands

Webhaven commands

Webhaven adds a few commands to your project, for creating your theme, switching on dev mode and updating translations. 

They work the same with or without DDEV.

Create a custom theme

Generates a theme based on the Webhaven starterkit and sets it as the default. See Create a custom theme.

ddev create-theme my_theme

Without DDEV:

vendor/bin/dr webhaven:create-theme my_theme

Without DDEV, the theme is only built when Node is installed. 

To get .env.local, add --base-url=https://your-site.com.

Dev mode

Turns off Drupal caching and CSS/JS aggregation, and turns on Twig debug. Don't use it on a live site.

ddev dev-mode
ddev dev-mode disable

Without DDEV:

vendor/bin/dr webhaven:dev-mode
vendor/bin/dr webhaven:dev-mode disable

Update translations

Fetches the latest interface translations. Drupal also does this once a week by itself.

ddev translations

Without DDEV:

vendor/bin/drush locale:check
vendor/bin/drush locale:update
Previous page Install without DDEV Next page Deploying your site

You've seen how it works. Now see what it's worth.

See how much time and money Webhaven saves on every Drupal project.
Calculate my savings
Webhaven
Ship your best Drupal work, faster.

Links

  • Who it's for
  • Get Webhaven
  • Demo
  • Docs
  • Free tools
  • Blog
  • Get in touch

Follow on

  • Our Drupal profile
  • Our LinkedIn profile
© 2026 Webhaven.
All rights reserved.

Legal

  • License
  • Terms of service
  • Privacy policy
  • Accessibility
  • Login
Built with