# npm
npm i -g @graphprotocol/hypergraph-cli
# yarn
yarn global add @graphprotocol/hypergraph-cli
# pnpm
pnpm install -g @graphprotocol/hypergraph-clihypergraph --help
hg --help # short alias
# opening TypeSync
hypergraph typesync
hg typesync
# opening TypeSync in firefox automatically
hypergraph typesync --open --browser firefoxtypesync-> runs the Hypergraph API and client UI application for viewing created application schemas, browsing the Knowledge Graph, and creating new application schemas.- running:
hypergraph typesync - args:
port[OPTIONAL, default = 3000] port to run the application on- example:
hypergraph typesync --port 3001
- example:
browser[OPTION, default 'browser'] browser to open the app in, if the--openflag is passed- example:
hypergraph typesync --open --browser firefox
- example:
- running:
- Start TypeSync:
hypergraph typesync
- In the UI click Generate App and choose a name (e.g.
awesome-app). When the toast shows the path, the scaffold is ready and all dependencies are already installed. - Run it:
cd awesome-app pnpm dev
No additional pnpm install is necessary – the generator takes care of adding the app to the workspace and installing its dependencies for you.