Skip to main content

Getting Started

Requirement

  • Dart SDK 3.2 - latest
  • Flutter: 3.16.0 - latest
note

IDE Recommendation

Installations

Install current version morpheme_cli by this command :

dart pub global activate morpheme_cli

Make sure morpheme cli was installed, you can check by this command :

morpheme -v
Output
Morpheme CLI 1.0.0

If this directory is missing from your PATH, locate the file for your platform and add it.

PlatformCache location
macOS or LinuxHOME/.pub-cache/bin
Windows*%LOCALAPPDATA%\Pub\Cache\bin
info

If you want install spesific version morpheme cli you need to follow this step:

dart pub global activate morpheme_cli@1.0.0

Additional Tools Installations

  1. Install flutterfire for requirement command morpheme firebase.

    You can install with dart pub global activate flutterfire_cli

  2. Install gherkin for requirement command morpheme cucumber.

    Install gherkin executable and make sure to export to your PATH from this Gherkin Executable

  3. Install npm for requirement command morpheme cucumber to generate report integration test.

    You can follow installation in nodejs

  4. Install lcov for requirement command morpheme coverage.

    Install lcov with follow this installation

Usage

To use the Morpheme CLI, you must run the morpheme command from the terminal on your project directory.

caution

This CLI can only be used on Morpheme Flutter Starter Kit, please clone it first and configure it based on the documentation on the following link Morpheme Flutter Starter Kit