https://github.com/hubspot/hubspot-cli
A CLI for HubSpot
https://github.com/hubspot/hubspot-cli
Last synced: 3 months ago
JSON representation
A CLI for HubSpot
- Host: GitHub
- URL: https://github.com/hubspot/hubspot-cli
- Owner: HubSpot
- License: other
- Created: 2019-10-17T21:08:00.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2025-09-23T19:45:14.000Z (9 months ago)
- Last Synced: 2025-10-02T20:21:41.037Z (9 months ago)
- Language: TypeScript
- Homepage: https://developers.hubspot.com
- Size: 11.7 MB
- Stars: 172
- Watchers: 130
- Forks: 71
- Open Issues: 53
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# @hubspot/cli
[](https://www.npmjs.com/package/@hubspot/cli) [](https://www.npmjs.com/package/@hubspot/cli?activeTab=versions)
The official CLI for HubSpot developers to enable local development and automation. [Learn more about building on HubSpot](https://developers.hubspot.com).
> **📢 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](https://developers.hubspot.com/feedback)
## Getting started
For more information on using these tools, see the [HubSpot CLI Docs](https://developers.hubspot.com/docs/developer-tooling/local-development/hubspot-cli/install-the-cli)
### Installation
```bash
npm install -g @hubspot/cli
```
### Configuring
Once the `@hubspot/cli` has been added to a project, the next step is to authenticate your HubSpot account
```bash
hs init
```
## Commands
A full breakdown of the commands can be found on the [local development tools reference page](https://developers.hubspot.com/docs/developer-tooling/local-development/hubspot-cli/reference).
**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`.
## Changelog
The best way to stay up to date is to check out the [Github Releases](https://github.com/HubSpot/hubspot-cli/releases) or follow our [developer changelog posts](https://developers.hubspot.com/changelog) for an easier to read breakdown of major changes.