Creating an app with Codex CLI

To get started with Codex CLI for Uno Platform development:

  1. Create a new project using the Uno Platform Live Wizard, or dotnet new

    dotnet new unoapp --tfm net10.0 -o MyNewApp
    
  2. Change your directory to be in the folder containing the new project (e.g., cd MyNewApp)

  3. Run the following command:

    dnx -y uno.devserver login
    

    The Uno Studio app will allow you to sign in or create an account and get access the Uno App MCP.

  4. If running on linux or macos, run the following:

    export NUGET_PACKAGES=`pwd`/.nuget
    
  5. Open Codex in the folder of the app

    codex --sandbox workspace-write --ask-for-approval on-request 
    

Next Steps

You can start developing with Codex.