Command Line Interface

Installation

Using Shell Script (macOS and Linux)

curl -L https://github.com/openSVM/lessvm/releases/latest/download/lessvm-installer.sh | sh

Using PowerShell (Windows)

irm https://github.com/openSVM/lessvm/releases/latest/download/lessvm-installer.ps1 | iex

Using Homebrew (macOS and Linux)

brew tap openSVM/lessvm
brew install lessvm

Manual Download

Download the appropriate binary for your platform from the releases page.

macOS

# For Intel Macs
curl -L https://github.com/openSVM/lessvm/releases/latest/download/lessvm-x86_64-apple-darwin.tar.xz | tar xJ
sudo mv lessvm /usr/local/bin/

# For Apple Silicon (M1/M2) Macs
curl -L https://github.com/openSVM/lessvm/releases/latest/download/lessvm-aarch64-apple-darwin.tar.xz | tar xJ
sudo mv lessvm /usr/local/bin/

Linux

# For x86_64 architecture
curl -L https://github.com/openSVM/lessvm/releases/latest/download/lessvm-x86_64-unknown-linux-gnu.tar.xz | tar xJ
sudo mv lessvm /usr/local/bin/

# For ARM64 architecture
curl -L https://github.com/openSVM/lessvm/releases/latest/download/lessvm-aarch64-unknown-linux-gnu.tar.xz | tar xJ
sudo mv lessvm /usr/local/bin/

From Source

cargo install lessvm

Usage

lessvm [OPTIONS] 

Global Options

  • -v, --verbose: Enable verbose logging
  • -h, --help: Show help information
  • -V, --version: Show version information

Commands

Create a New Project

lessvm new  [--template