The official CLI for HubSpot developers to enable local development and automation. Learn more about building on HubSpot.
📢 Repository Notice: This repository is read-only. The HubSpot CLI has been moved to our internal GitHub organization for active development. While we continue to sync the latest changes to this public repository, all development work now happens internally. Issues can still be reported here, but pull requests will not be accepted.
Feedback about the HubSpot developer platform can be given through our developer feedback form
For more information on using these tools, see the HubSpot CLI Docs
npm install -g @hubspot/cliOnce the @hubspot/cli has been added to a project, the next step is to authenticate your HubSpot account
hs initA full breakdown of the commands can be found on the local development tools reference page.
Note: When @hubspot/cli is not installed globally, the commands need to be prefixed with either yarn if using yarn or npx if using npm.
The best way to stay up to date is to check out the Github Releases or follow our developer changelog posts for an easier to read breakdown of major changes.