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