# hs commands not working

**URL:** <https://community.hubspot.com/t/hs-commands-not-working/70125>\
**Category:** APIs & Integrations\
**Tags:** developer\
**Created:** [November 29, 2022, 12:24am UTC](https://community.hubspot.com/t/hs-commands-not-working/70125 "2022-11-29T00:24:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![JDutton](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jdutton/32/2490_2.png) [@JDutton](https://community.hubspot.com/u/JDutton)\
**Post date:** [November 29, 2022, 12:24am UTC](https://community.hubspot.com/t/hs-commands-not-working/70125/1 "2022-11-29T00:24:24Z")

</div>

I sucessfully installed the local dev tools a few days ago, connecting VS code to my sandbox/developer account. I was able to push up a new theme I was working on as part of Hubspot Academy’s CMS for Developers Course. However, yesterday when as I continued to watch the videos and it came time to create a template using hs create, it gave me an error that it didnt recognize hs commands. Am I missing something here? A step? Am I supposed to be using a command to login or something?

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [November 30, 2022, 7:26pm UTC](https://community.hubspot.com/t/hs-commands-not-working/70125/2 "2022-11-30T19:26:26Z")

</div>

Hi, @JDutton 👋 Thanks for the question. Hey, @Jnix284 @BarryGrennan @Sjardo, do you have any insight you can offer to @JDutton?

Best,

Jaycee

---

<div class="post-metadata">

**Author:** ![jnix284](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jnix284/32/29_2.png) [@jnix284](https://community.hubspot.com/u/jnix284)\
**Post date:** [December 9, 2022, 1:08am UTC](https://community.hubspot.com/t/hs-commands-not-working/70125/3 "2022-12-09T01:08:11Z")

</div>

Hi @JDutton Are you on mac by chance? I’m very new to the CLI on mac and also experienced a similar issue. I used the CLI on windows for a long time without any problems. It was due to mac user permissions and having to install node.js locally instead of globally.  
I had one of the developers I work with walk through the [EACCESS steps](https://docs.npmjs.com/resolving-eacces-permissions-errors-when-installing-packages-globally) with me and TBH it was waaay over my head, but he figured it out. Then a week or so later I tried the CLI again, and it didn’t work again.  
[This thread in the dev slack](https://hubspotdev.slack.com/archives/CCQ7H31D5/p1667943631676099) goes through what we did to troubleshoot, we never quite found the resolution for me, but maybe some of the earlier steps will help you troubleshoot.  
[This community thread also might have the answer for you](https://community.hubspot.com/t5/CMS-Development/hubspot-CLI-installation-issues/m-p/630102).

I don’t do a lot of local development, mostly converting global modules and updates, so I’ve procrastinated a bit on finding the answer and would love to know what you learn if you’re able to figure it out!
