Skip to main content

Install HubSpot CLI into folder

Create a folder where your website/demo will live. Because... the below code will pull from Hubspot and add the CLI language to the folder you are in. So, navigate VSCode to the folder you need to be in first. There is where you will run the below command to enable the CLI

npm install @hubspot/cli


Configurations: Need to get a .yaml file in the Hubstop account that is needed. In the same area as the last step, in terminal, type in the following

npx hs init

1) It will ask you to fill in the name with what you want to call your website. 

2) Next, it will pop up the HubSpot account.  You can agree to it. Make sure you are already logged into the account you want to add this to. If your not, make sure you log into the correct one in the next step. 

3) Once you are in, show the key, then copy it. 
Paste that key into the terminal. 

4) It will prompt you to enter a name for the CLI. This is what the name of your project/website is (ie: t-shirts, energy is better, food4less).

How to download theme:

Download a theme from HubSpot