We recommend using npx:
npx apihero@latest add GitHubTo add an API to your project, run this command in the root of your project:
npx apihero@latest add GitHubIt will guide you through authenticating the CLI if you haven't already finished that on your machine.
Then it will search for the API you typed in ("GitHub" in the example above). It will show results for you to select from.
Once you have selected an API it will add it to your API Hero project and install the npm package for that API.
Also, you will need to select the framework you wish to add (currently React or Node).
npx apihero@latest --helpWill list all of the possible commands, and link you to our documentation.