Skip to content

CLI ​

The Developer Studio CLI (gsds) is the command-line companion to the Developer Portal. Use it to scaffold projects, preview widgets against your community, test Connectors, and manage sitewide scripts and stylesheets, all without leaving your terminal.

Distributed as @gainsight-hub/developer-studio-cli on npm. Requires Node.js 18 or later.

Where to start ​

If you want to...Go to
Install gsds and preview your first widget end-to-endGet started
Pair a session with your communityAuthenticate
Run a Connector against your tenant from the CLITest Connectors
Load one shared copy of a dependency across widgetsShare Dependencies Across Widgets
Register sitewide scripts and stylesheetsManage scripts and stylesheets
Drive gsds from CI or an AI agentAutomate with CI and AI
Look up a command, flag, or exit codeCommand reference
See which files gsds reads and writesProject files
Recognize an error message, or work out why a preview silently isn't workingTroubleshooting

What gsds is not ​

gsds does not publish widgets. Publishing is triggered by pushes to your watched branch — the CLI is a local development tool. See Extensions for the publish flow.

Gainsight CC Developer Portal