Skip to Content

Installing the WunderGraph SDK


To install the WunderGraph SDK, make sure you have Node.JS & npm / yarn installed.

Installation using wunderctl#

wunderctl, the WunderGraph command line interface makes it very easy to scaffold new projects.

Use the following command to init a new project.

wunderctl init

Then cd into the directory and install all dependencies.

Using yarn:

cd .wundergraph

Using npm:

cd .wundergraph
npm install

Manual installation#

Although it's very convenient, you might want to manually install the SDK in some scenarios.

To do so, init a new npm project and install the dependency.

Using yarn:

yarn init
yarn add @wundergraph/sdk

Using npm:

npm init
npm install --save @wundergraph/sdk