Skip to Content

Installing the WunderGraph SDK

Prerequisites#

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
yarn

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

Product

Subscribe to our newsletter!

Stay informed when great things happen! Get the latest news about APIs, GraphQL and more straight into your mailbox.

© 2021 WunderGraph