Cannot run executable, issue while installing tailwind v.3.4.17 command: npm tailwindcsss init -p #15707
-
Today morning I tried installing tailwind, I was able to install the latest tailwind for vite that is v.4.0 . But I couldnt install the v.3.4.17 `varun@varun:~/Documents/Temp-Projects/project$ npx tailwindcss init npm ERR! A complete log of this run can be found in: |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 19 replies
-
Hey there! We've released Tailwind 4 today with an updated way to install Tailwind inside Vite applications. I suggest you look at the official guide if you want to get started with version 4: https://tailwindcss.com/docs/installation/using-vite The command you're trying to run was something that is no longer necessary with version 4 and it doesn't exist anymore. |
Beta Was this translation helpful? Give feedback.
-
i am finding it impossible to install tailwindcss in vscode |
Beta Was this translation helpful? Give feedback.
-
for anyone trying to use tailwindcss outside a npm project, you can install globally with: how to install and configure tailwindCSS executable?# download tailwind binary and move to "~/.tailwindcss/bin"
mkdir ~/.tailwindcss; cd ~/.tailwindcss/
mkdir bin; cd bin
# this works for arm64, check docs for other arch
curl -sLO https://github.com/tailwindlabs/tailwindcss/releases/latest/download/tailwindcss-macos-arm64
chmod +x tailwindcss-macos-arm64
mv tailwindcss-macos-arm64 tailwindcss
# tailwindcss
export PATH=$PATH:~/.tailwindcss/bin now you can use tailwindcsstailwindcss --help |
Beta Was this translation helpful? Give feedback.
use these
npm install -D tailwindcss@3 postcss autoprefixer
npx tailwindcss init -p