Get up and running on the latest version of HubSpot’s developer platform.
7.6.0
or later. You can check which version of the CLI you have by running hs --version
. If needed, you can run the command npm install -g @hubspot/cli@latest
to update to the latest version of the HubSpot CLI.
Get started
hs get-started
to initialize authentication and project setup.hs account auth
.Configure your project details
package-lock.json
file and Node modules directory to the project’s cards/
directory.Install your app
hs project open
while in the local project directory.Start local development
hs project dev
.Setup local development preview
Developing locally
tag to indicate that the local development server is waiting to detect local changes.Continue local development
.json
configuration file, you’ll need to reupload the project and restart the local development server.To test this out, make a change to the app card’s local .jsx
React file, then save your change. For example, change the text within one of the Text
components.