Installation
Prerequisites
This tool requires Node.js environment. The minimum required Node.js version is 16.16.0.
If you haven't installed Node.js yet, please visit the official Node.js website to download and install it.
Version Check
You can check your current Node.js version by running:
shell
node -vGlobal Installation
shell
npm i @apisorcery/cli -gshell
pnpm add @apisorcery/cli -gshell
yarn global add @apisorcery/clishell
bun add @apisorcery/cli -gVerify Installation
After installing globally, run the following command to confirm the CLI is available:
shell
apisorcery -vYou should see the current version number printed, e.g. 1.3.0.
Local Installation
shell
npm i @apisorcery/cli --save-devshell
pnpm add @apisorcery/cli --save-devshell
yarn add @apisorcery/cli --devshell
bun add @apisorcery/cli --dev