> For the complete documentation index, see [llms.txt](https://docs-v2.hypertest.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs-v2.hypertest.co/user-guides/node.js-sdk/update-ht-cli-and-node-sdk.md).

# Update HT-CLI and Node-SDK

```
htcli update-ht-packages --package-manager <package manager name> --config-file-path <path-to-your-cli-config>
```

This command can be added as a script in your package.json and run it before every test run on CI or local to update the hypertest packages to the latest deployed version, in sync with the hypertest backed.

<pre><code><strong>// App's package.json
</strong>{
    "scripts" : {
        "update-ht-packages" : "htcli update-ht-packages --package-manager &#x3C;package manager name> --config-file-path &#x3C;path-to-your-cli-config>"
    }, 
}
</code></pre>
