Skip to content

Latest commit

 

History

History
36 lines (28 loc) · 770 Bytes

File metadata and controls

36 lines (28 loc) · 770 Bytes

SecretAI devportal CLI tool

A command-line interface to manage Secret Virtual Machines (SecretVMs) and interact with SecretAI devportal.

Prerequisites

  • Node.js: Version 16.x or higher.
  • npm or yarn.

Installation

  1. Clone the Repository
git clone https://github.com/scrtlabs/secretvm-cli.git
cd secretvm-cli
  1. Install Dependencies
npm install
# or
yarn install
  1. Build the Project
npm run build

This will create a /dist directory with the compiled code.

  1. 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