Back to Uno

Use Uno Check Inline Linux Noheader

doc/articles/includes/use-uno-check-inline-linux-noheader.md

6.6-release-branch-cut1.3 KB
Original Source
  1. Open a Terminal

  2. If dotnet --version returns command not found:

    • Follow the official directions for installing .NET.

      [!IMPORTANT] If you are using Ubuntu 24.04 or earlier, use the Microsoft feed to install .NET. On later versions, you may install .NET directly from Ubuntu's official feed. In any case, you may refer to the directions from Microsoft on installing .NET on Ubuntu and make sure to select your Ubuntu version.

  3. Then, setup uno.check by installing or updating the tool with:

    bash
    dotnet tool update -g uno.check
    
  4. Run the tool from the command prompt with the following command:

    bash
    uno-check
    

    If the above command fails, use the following:

    bash
    ~/.dotnet/tools/uno-check
    

    You can optionally add the --target desktop --target web (or ios, android, windows) parameters based on your intended development platforms.

  5. Follow the instructions indicated by the tool

You can find additional information about uno-check here.