This will download the 'TailwindCSS' standalone CLI to the current
working directory.
See here for details on the
standalone CLI. This saves you from having to install 'node.js'.
On the mac, after installing the CLI, you need to make sure that the file
is executable to run it. For Mac, the easiest way to do so is to ensure
you're in the correct working directory in R and type
system("chmod +x tailwindcss")
.
Alternatively, you could cd
to the directory in terminal and then run
chmod +x tailwindcss
.