Skip to content
Niels Bosma edited this page Dec 22, 2025 · 3 revisions

Welcome to the Ivy-Framework Internal Developer Wiki!

This wiki is for internal developers of the Ivy Framework. To learn how to use Ivy Framework, visit https://docs.ivy.app.

Setup

If you want to work on the framework itself, you need to set up the following:

  1. Install dependencies:

  2. Fork and clone this repository.

  3. Pre-generate documentation files (first time only):

    Windows (PowerShell):

    cd Ivy.Docs.Shared
    .\Regenerate.ps1

    Mac/Linux (Bash):

    cd Ivy.Docs.Shared
    sh ./Regenerate.sh
  4. Build the frontend:

    cd frontend
    npm install
    npm run build
    npm run dev
  5. Run the backend (choose one):

    For Ivy.Samples (testing components):

    cd Ivy.Samples
    dotnet watch

    For Ivy.Docs (documentation):

    cd Ivy.Docs
    dotnet watch
  6. Open http://localhost:5173/ in your browser.

Changes in /frontend will be hot-reloaded by Vite and changes in /Ivy.Samples will be hot-reloaded by Ivy.

For detailed contribution guidelines, see CONTRIBUTING.md.

Troubleshooting

Apple Silicon Mac: "Bad CPU type in executable" due to Google Protobuf & ARM

Install Rosetta 2: /usr/sbin/softwareupdate --install-rosetta --agree-to-license

Debug Widget Tree Updates

Set the environment variable IVY_DUMP_WIDGET_TREES to 1 to log widget tree updates to dump.ljson in the working directory.

$env:IVY_DUMP_WIDGET_TREES = "1"

Clone this wiki locally