Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

$ tailwindcss init ≈ tailwindcss v4.0.8 Invalid command: init #16745

Closed
SamuelMarks opened this issue Feb 22, 2025 · 1 comment
Closed

$ tailwindcss init ≈ tailwindcss v4.0.8 Invalid command: init #16745

SamuelMarks opened this issue Feb 22, 2025 · 1 comment

Comments

@SamuelMarks
Copy link

macOS on default zsh using

curl -sLO https://github.com/tailwindlabs/tailwindcss/releases/latest/download/tailwindcss-macos-arm64
chmod +x tailwindcss-macos-arm64
mv tailwindcss-macos-arm64 tailwindcss

…as per guide.

Following it further https://tailwindcss.com/blog/standalone-cli and tailwindcss init gives:

% tailwindcss init
≈ tailwindcss v4.0.8

Invalid command: init

Usage:
  tailwindcss [options]

Options:
  -i, --input ··········· Input file
  -o, --output ·········· Output file [default: `-`]
  -w, --watch ··········· Watch for changes and rebuild as needed
  -m, --minify ·········· Optimize and minify the output
      --cwd ············· The current working directory [default: `.`]
  -h, --help ············ Display usage information
@wongjn
Copy link
Contributor

wongjn commented Feb 22, 2025

The instructions in that blog post are outdated. The init command no longer exists in the latest version of Tailwind. You can simply skip that step.

@tailwindlabs tailwindlabs locked and limited conversation to collaborators Feb 23, 2025
@philipp-spiess philipp-spiess converted this issue into discussion #16757 Feb 23, 2025

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants