npm tailwindcss -D code example Example: tailwind css npm # Using npm npm install tailwindcss # Using Yarn yarn add tailwindcss