A command-line interface to manage Secret Virtual Machines (SecretVMs) and interact with SecretAI devportal.
- Node.js: Version 16.x or higher.
- npm or yarn.
- Clone the Repository
git clone https://github.com/scrtlabs/secretvm-cli.git
cd secretvm-cli
- Install Dependencies
npm install
# or
yarn install
- Build the Project
npm run build
This will create a /dist
directory with the compiled code.
- Make the CLI Globally Available (Optional) To use the CLI command from anywhere on your system, you can link it:
npm link
This will make the command secretvm-cli
available globally. Alternatively, you can run it directly using node dist/cli.js