Skip to main content

Installation

Installing#

The easiest way to install Maglev is with a package manager like NPM or Yarn.

# Installs the maglev core library and devtools.
yarn add @wlabs/maglev

This installs both the devtools and the core library which is used in both browsers and node.

Devtools#

The @wlabs/maglev package ships with a devtool CLI. The easiest way to invoke this CLI (after the above installation command is run) is to again use your package manager.

# Print help for the Maglev devtools CLI.
yarn maglev --help