Drupal is a registered trademark of Dries Buytaert
cms 2.1.3 Update released for Drupal core (2.1.3)! drupal 10.5.11 Update released for Drupal core (10.5.11)! drupal 11.3.11 Update released for Drupal core (11.3.11)! drupal 11.2.13 Update released for Drupal core (11.2.13)! drupal 10.6.10 Update released for Drupal core (10.6.10)! cms 2.1.2 Update released for Drupal core (2.1.2)! drupal 11.1.10 Update released for Drupal core (11.1.10)! drupal 10.5.10 Update released for Drupal core (10.5.10)! drupal 10.4.10 Update released for Drupal core (10.4.10)! drupal 11.2.12 Update released for Drupal core (11.2.12)! drupal 11.3.10 Update released for Drupal core (11.3.10)! drupal 10.6.9 Update released for Drupal core (10.6.9)! drupal 10.6.8 Update released for Drupal core (10.6.8)! drupal 11.3.9 Update released for Drupal core (11.3.9)! drupal 11.3.8 Update released for Drupal core (11.3.8)! drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)!

Provides a Drush command that wraps the standalone Tailwind CSS CLI.
This allows you to compile Tailwind CSS directly via Drush — no Node.js or npm required.

Supported Tailwind CSS version: 4.x

Features

  • No Node.js needed — uses the official standalone Tailwind CSS binary
  • Auto-detects input/output paths from your active theme's file structure
  • Full Tailwind CLI option pass-through (--minify, --content, etc.)
  • Binary is cached outside the module directory and survives composer updates

Available Drush Commands

  • drush tailwind:install alias drush twi - Downloads the binary for the current platform
  • drush tailwind:build alias drush twb - Compiles Tailwind CSS once (auto-detects theme paths)
  • drush tailwind:watch alias drush tww - Watches for file changes and recompiles

Usage with no default theme auto-detection

drush tailwind:build --input web/themes/custom/my_theme/src/tailwind.css --output web/themes/custom/my_theme/css/style.css

Additional Requirements

  • Drush (installed per project)
  • Linux or macOS (FreeBSD is not supported).

Similar projects

This module is a replacement for npm/yarn.

Activity

Total releases
2
First release
Mar 2026
Latest release
3 months ago
Release cadence
0 days
Stability
0% stable

Releases

Version Type Release date
1.0.0-beta1 Pre-release Mar 11, 2026
1.x-dev Dev Mar 11, 2026