Getting Started

Install the Morphir toolchain, compile your first model and generate code from it

Start here

Your first model with morphirup takes you from nothing to generated code: install morphirup, set up the toolchain, compile a small F# model and generate F# from it. It works on Windows and on Macs with Apple silicon, and needs no .NET.

Installation lists every way to install morphirup and the Morphir CLI.

Next

When something goes wrong, see Troubleshooting.


Your first model with morphirup

Install morphirup, set up the toolchain, compile a small F# model, generate F# from it, then change a rule and see the result

Installation

Install morphirup, the Morphir toolchain manager, then the older routes to the morphir CLI

Compile F# to Morphir IR

Write a business rule in F#, compile it to Morphir IR, and generate code from it in five minutes

Validating IR Files

Check a Morphir IR file with morphir validate

Generate F# from Morphir

Build and run a car rental model using the Myriad plugin

Configure a workspace

Workspace discovery, inspection, safe TOML editing and .NET consumption

Python WASM extension (experimental)

Compile and generate Python with the pinned Python extension in the .NET CLI

Troubleshooting

Fixes for the problems you are most likely to meet when you install morphirup, set up a toolchain, compile and generate

Generate and run C#

Generate a typed Morphir library and execute it in a fresh C# consumer

Generate F# from a Morphir model

Generate F# source from JSON or Ion libraries