This project is not covered by Drupal’s security advisory policy.
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:installaliasdrush twi- Downloads the binary for the current platformdrush tailwind:buildaliasdrush twb- Compiles Tailwind CSS once (auto-detects theme paths)drush tailwind:watchaliasdrush 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.
Project information
- Project categories: Developer tools
- Ecosystem: Drush
- Created by firflant on , updated
This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.
Releases
1.0.0-beta1
released 11 March 2026
Works with Drupal: ^10 || ^11
Install:
Development version: 1.x-dev updated 11 Mar 2026 at 15:02 UTC
