<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/cicd-made-easier-with-unity-cli-laa4zuvxk" -->

---
title: CICD Made Easier with Unity CLI | daily.dev
description: Unity has released a new command-line interface (Unity CLI) that standardizes how CI/CD pipelines install Editors, run tests, and produce builds, replacing...
canonical: https://daily.dev/posts/cicd-made-easier-with-unity-cli-laa4zuvxk
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: CICD Made Easier with Unity CLI | daily.dev
og:description: Unity has released a new command-line interface (Unity CLI) that standardizes how CI/CD pipelines install Editors, run tests, and produce builds, replacing...
og:url: https://daily.dev/posts/cicd-made-easier-with-unity-cli-laa4zuvxk
og:image: https://api.daily.dev/og/posts/lAa4zUVXk.png
og:image:alt: CICD Made Easier with Unity CLI
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# CICD Made Easier with Unity CLI

**[Unity](https://daily.dev/sources/unity)** · 10 min read · 0 upvotes · 0 comments

## Summary

Unity has released a new command-line interface (Unity CLI) that standardizes how CI/CD pipelines install Editors, run tests, and produce builds, replacing custom wrapper scripts that directly invoke the Unity Editor executable. The CLI exposes commands like unity install, unity test, and unity build with consistent flags across Windows, macOS, and Linux, and supports --allow-install so the project's own version file determines which Editor is used. It writes NUnit XML test reports, supports floating and offline license activation/return workflows, and works with any CI provider (GitHub Actions, GitLab CI, Jenkins, Buildkite, TeamCity, etc.), reducing provider lock-in and the gap between local developer runs and CI runs.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://unity.com/blog/cicd-made-easier-with-unity-cli>

## Questions this post answers

### What is the Unity CLI and how does it change Unity CI/CD pipelines?

Unity CLI is a new command-line tool that gives a consistent 'unity' command for installing Editors, running tests, and producing builds, replacing direct Editor executable invocations. It supports non-interactive installation, structured output, and clear exit codes, working the same way across GitHub Actions, GitLab CI, Jenkins, Buildkite, TeamCity, or internal systems.

_Track CI/CD tooling changes like Unity CLI as pipelines evolve, right on daily.dev._

### How do I run Unity EditMode tests and get an NUnit XML report from a CI pipeline?

Use the command 'unity test . --mode EditMode --output ./results/editmode.xml' which runs the project's EditMode tests and writes results directly to an NUnit XML file. Adding --allow-install lets the CLI read the required Unity version from the project and install it automatically if missing.

_Developers automating game builds follow tooling updates like this on daily.dev._

### How does Unity CLI handle Android build signing and license management in CI?

An Android keystore can be stored as a base64-encoded CI secret, decoded only for the build step, and deleted during teardown after running 'unity build' with --target Android. Licensing uses 'unity license activate --floating' before work and 'unity license return' afterward, ideally in an unconditional teardown step so failed jobs do not leave seats checked out.

_Teams securing build credentials and licenses can keep up with tooling like this on daily.dev._

## Similar posts on daily.dev

- [Meet the Unity CLI: manage Unity from your terminal](https://daily.dev/posts/meet-the-unity-cli-manage-unity-from-your-terminal-oyxu9r6jr) · Unity · 40 upvotes · 3 comments
- [Getting started with the CircleCI CLI for coding agents](https://daily.dev/posts/getting-started-with-the-circleci-cli-for-coding-agents-z5nci5cdi) · CircleCI · 0 upvotes · 0 comments

---

Tags: [#game-development](https://daily.dev/tags/game-development), [#cicd](https://daily.dev/tags/cicd), [#unity](https://daily.dev/tags/unity)

[View this post on daily.dev](https://daily.dev/posts/cicd-made-easier-with-unity-cli-laa4zuvxk)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"CICD Made Easier with Unity CLI","url":"https://daily.dev/posts/cicd-made-easier-with-unity-cli-laa4zuvxk","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/cicd-made-easier-with-unity-cli-laa4zuvxk"},"datePublished":"2026-09-18T08:44:36.148Z","dateModified":"2026-09-18T09:36:13.285Z","description":"Unity has released a new command-line interface (Unity CLI) that standardizes how CI/CD pipelines install Editors, run tests, and produce builds, replacing...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/bc47b79f01ccfb9d0e0150570e32aa3d?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/bc47b79f01ccfb9d0e0150570e32aa3d?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Unity","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Unity","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/9afe038cc27e4d95ad581284cea8578d","url":"https://daily.dev/sources/unity"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/cicd-made-easier-with-unity-cli-laa4zuvxk","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"game-development,cicd,unity","timeRequired":"PT10M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Unity","item":"https://daily.dev/sources/unity"},{"@type":"ListItem","position":3,"name":"CICD Made Easier with Unity CLI"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/cicd-made-easier-with-unity-cli-laa4zuvxk#faq","mainEntity":[{"@type":"Question","name":"What is the Unity CLI and how does it change Unity CI/CD pipelines?","acceptedAnswer":{"@type":"Answer","text":"Unity CLI is a new command-line tool that gives a consistent 'unity' command for installing Editors, running tests, and producing builds, replacing direct Editor executable invocations. It supports non-interactive installation, structured output, and clear exit codes, working the same way across GitHub Actions, GitLab CI, Jenkins, Buildkite, TeamCity, or internal systems. Track CI/CD tooling changes like Unity CLI as pipelines evolve, right on daily.dev."}},{"@type":"Question","name":"How do I run Unity EditMode tests and get an NUnit XML report from a CI pipeline?","acceptedAnswer":{"@type":"Answer","text":"Use the command 'unity test . --mode EditMode --output ./results/editmode.xml' which runs the project's EditMode tests and writes results directly to an NUnit XML file. Adding --allow-install lets the CLI read the required Unity version from the project and install it automatically if missing. Developers automating game builds follow tooling updates like this on daily.dev."}},{"@type":"Question","name":"How does Unity CLI handle Android build signing and license management in CI?","acceptedAnswer":{"@type":"Answer","text":"An Android keystore can be stored as a base64-encoded CI secret, decoded only for the build step, and deleted during teardown after running 'unity build' with --target Android. Licensing uses 'unity license activate --floating' before work and 'unity license return' afterward, ideally in an unconditional teardown step so failed jobs do not leave seats checked out. Teams securing build credentials and licenses can keep up with tooling like this on daily.dev."}}]}
```

