Skip to main content
The commands listed below provide general CLI management tools, such as installing or updating the CLI, as well as getting help with specific commands.

Show all commands

Shows all commands and their definitions. To learn more about a specific command, add --help to the end of the command.
hs help

Install the CLI

You can install HubSpot local development tools either globally (recommended) or locally. To install the HubSpot tools globally, in your command line run the command below. To install locally, omit -g from the command.
npm install -g @hubspot/cli
To install the tools only in your current directory instead, run the command below. You do not need to install locally if you already have the CLI installed globally.
npm i @hubspot/cli@latest

Update the CLI

The CLI is updated regularly. To upgrade to the latest version of the local tools, run:
npm i -g @hubspot/cli@latest

Provide feedback

Launch a browser window to navigate directly to the HubSpot developer feedback form where you can submit suggestions or file issues for HubSpot’s developer platform.
hs feedback
Last modified on February 9, 2026