As discussed here https://github.com/tailwindcss/discuss/issues/304 , people get confused and expect to run commands such as this one npx tailwind build styles.css -o output.css without having to install anything only to be slapped back (several times) with command not found: tailwind
For anyone ending here, using npx tailwindcss does the job since tailwind really is a completely different package on npm. Tailwindcss just places an executable tailwind in your bin folder.
That being said, would you consider updating the docs and placing a little note saying that tailwindcss needs to be installed or npx tailwindcss must be used instead? Thank you!
As discussed here https://github.com/tailwindcss/discuss/issues/304 , people get confused and expect to run commands such as this one
npx tailwind build styles.css -o output.css
without having to install anything only to be slapped back (several times) withcommand not found: tailwind
For anyone ending here, using
npx tailwindcss
does the job sincetailwind
really is a completely different package on npm. Tailwindcss just places an executabletailwind
in your bin folder.That being said, would you consider updating the docs and placing a little note saying that
tailwindcss
needs to be installed ornpx tailwindcss
must be used instead? Thank you!