Skip to main content

Meta CLI

Meta-cli version

info

Metatype is only supported on macOS and Linux. Windows users should use Linux on Windows with WSL.

You can download the binary from the releases page, make it executable and add it to your PATH or use the automated method below.

  • An installer script is also provided for the CLI in our repository. Curl and install in it with the following one-liner. The installer may ask for your password.

    curl -fsSL https://raw.githubusercontent.com/metatypedev/metatype/main/installer.sh | bash
  • For later use, you can run the following command to upgrade Meta CLI to a newer version. If your Meta CLI is up to date, you will get an Already up to date! response.

    meta upgrade

That's it! You are done installing Meta CLI.

meta is a command line interface for interacting with the typegate and provide a simple, yet complete, developer experience. The metatype.yml file allows you to configure your environment and CLI settings, see configuration file.

Development

It watches for changes in your typegraphs and refresh your development typegate node on the fly.

Deployment

It deploy your typegraph to the Metatype Cloud or your self-hosted typegate instances in a single command.

Development typegate

For development purposes, the cli bundles the typegate itself and this can be accessed through the meta typegate subcommand.

info

The typegate sub-command is not availaible on the thin version of the meta binary.