title: sh: 1: tailwindcss: Permission denied // error on build process Tailwindcss CLI
body: <p>I have installed nodejs version: <code>v18.2.0</code>,</p>
  <p>and while i am trying to build my css with tailwind, and with the build command:</p>
  <pre><code>npx tailwindcss -i ./src/input.css -o ./public/css/output.css --watch
  </code></pre>
  <p>i just get the error:</p>
  <pre><code>sh: 1: tailwindcss: Permission denied The terminal process &quot;/usr/bin/bash '-c', 'npx tailwindcss -i ./src/input.css -o ./public/css/output.css --watch'&quot; terminated with exit code: 126.
  </code></pre>
  <p>I am a beginner in tailwindcss and linux(ubuntu) and i dont know where the problem is.</p>
  <p>.</p>
  <p>.</p>
  <p>.</p>
  <p>30.5.2022 Update:</p>
  <p>I have now installed nodejs and npm correctly.</p>
  <p>My Versions are:</p>
  <pre><code>jonas@jonas-ubuntu ~&gt; node -v
  
  v18.2.0 
  
  jonas@jonas-ubuntu ~&gt; npm -v
  
  8.11.0
  </code></pre>
  <p>If i now try to run to run the command:</p>
  <pre><code>npx tailwindcss -i ./src/input.css -o ./public/css/output.css --watch
  </code></pre>
  <p>It gives me this output:</p>
  <pre><code>sh: 1: tailwindcss: Permission denied
  </code></pre>
  <p>A look at my user permissions with: <code>ls -la</code></p>
  <pre><code>jonas@jonas-ubuntu ~/D/G/WOWA-BAU-NEU (main)&gt; ls -la
  insgesamt 100
  drwxrwxr-x  8 jonas jonas  4096 Mai 23 21:47 ./
  drwxrwxr-x  3 jonas jonas  4096 Mai 25 22:53 ../
  -rw-rw-r--  1 jonas jonas 11701 Mai 23 21:47 build.css
  -rw-rw-r--  1 jonas jonas     0 Mai 23 21:47 file
  drwxrwxr-x  8 jonas jonas  4096 Mai 30 13:51 .git/
  drwxrwxr-x 59 jonas jonas  4096 Mai 23 21:47 node_modules/
  drwxrwxr-x  2 jonas jonas  4096 Mai 23 21:47 old/
  -rw-rw-r--  1 jonas jonas    60 Mai 23 21:47 package.json
  -rw-rw-r--  1 jonas jonas 45723 Mai 23 21:47 package-lock.json
  drwxrwxr-x  5 jonas jonas  4096 Mai 30 13:51 public/
  drwxrwxr-x  2 jonas jonas  4096 Mai 23 21:47 src/
  -rw-rw-r--  1 jonas jonas   108 Mai 23 21:47 tailwind.config.js
  drwxrwxr-x  2 jonas jonas  4096 Mai 23 21:47 .vscode/
  </code></pre>
  <p>they look correct to write and read.</p>
  <p>What I didnt really from you understand was:</p>
  <blockquote>
  <p>If these are all OK, I would recommend looking at your user permissions globally (i.e. make sure you are in the wheel group, which can be done via: usermod -a -G wheel username).</p>
  </blockquote>