Packages

tailwindcss

4.3.5 · 6 Nov 2026MIT191M / weekRepositoryHomepagenpmAtom feed

Upgrading tailwindcss From 2.1.4 to 2.2.0

1 release in betweenevery note read

Other targets from 2.1.4Newest 2.x2.2.19Latest4.3.5
  1. 2.1.4yours
  2. 2.2.0target

Before you upgrade

Tick each one off as you go
  • Breaking2.2.0

Release by release

  1. 2.2.0

    Migration needed17 Jun 202144 new · 5 fixes
    • Breaking

      I don't expect this will be a real problem for most people, but it's technically a breaking change which is why we've limited this improvment to the JIT engine only.

    • New

      No installation or configuration necessary — simply npx tailwindcss -o output.css to compile Tailwind from anywhere. You can even enable JIT mode with the --jit flag and pass in your content files using the --purge option, all without creating a config file.

    • New

      Watch mode — so you can automatically rebuild your CSS whenever you make any changes.

    • New

      JIT performance optimizations — since our CLI is Tailwind-specific we've been able to make tons of optimizations that make it the absolute fastest build tool for compiling your CSS in JIT mode.

9 internal lines (docs, tests, tooling) left out.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.