A lazygit-style terminal interface for Unity projects and Editors, born of an urge to get rid of the slow, bloated, half-a-gig official Unity Hub. It replaces the Hub: you don't need to install the Hub at all.
lazyunity is a thin, fast front end for the official Unity CLI. Every change goes through the CLI, so lazyunity shares the Hub's project list and install location. Editors you open from it start signed in, without the Hub running.
Text version of UI
╭─[1]─Projects────────────────────────────────────────────────╮╭─[2]─Installed Editors - Releases────────────────────────────────────────────╮
│♥ Space Shooter 2h ago 6000.6.8f1 Linux ││★ 6000.6.8f1 x86_64 Linux, Android, WebGL │
│♥ Neon Drift 5h ago 6000.6.8f1 Android ││ 6000.3.28f1 LTS x86_64 Linux, Android, WebGL │
│ Tiny Kingdoms 1d ago 6000.3.28f1 WebGL ││ 2022.3.62f1 LTS x86_64 Linux, Windows, Android, iOS │
│ Lighthouse VR 3d ago 6000.3.28f1→6000.6.8f1 Android │╰──────────────────────────────────────────────────────────────────────1 of 3─╯
│ Puzzle Garden 6d ago 2022.3.62f1 iOS→Android│╭─[3]─Tools───────────────────────────────────────────────────────────────────╮
│ Old Platformer 3w ago 2022.3.62f1 Windows ││Unity CLI ready · 1.0.0 │
│ Ancient Thing ✗ missing 2019.4.40f1 Linux ││Account signed in as alex@example.com · enter to sign out │
│ ││License press enter to check │
│ ││ ╌ ╌ ╌ ╌ ╌ ╌ ╌ ╌ ╌ ╌ ╌ ╌ ╌ ╌ ╌ ╌ ╌ ╌ ╌ ╌ ╌ ╌ ╌ ╌ ╌ ╌ ╌ ╌ ╌ ╌ ╌ ╌ ╌ ╌ ╌ ╌ ╌ ╌ │
│ ││Default project folder ~/Projects · enter to change │
│ ││Editors folder ~/Unity/Hub/Editor · enter to change │
│ ││Config file ~/.config/lazyunity/config.yml · enter to edit │
│ ││ ╌ ╌ ╌ ╌ ╌ ╌ ╌ ╌ ╌ ╌ ╌ ╌ ╌ ╌ ╌ ╌ ╌ ╌ ╌ ╌ ╌ ╌ ╌ ╌ ╌ ╌ ╌ ╌ ╌ ╌ ╌ ╌ ╌ ╌ ╌ ╌ ╌ ╌ │
│ ││OpenUPM CLI 4.5.3 · from ManeFunction/openupm-cli@no-more-legacy│
│ ││ ╌ ╌ ╌ ╌ ╌ ╌ ╌ ╌ ╌ ╌ ╌ ╌ ╌ ╌ ╌ ╌ ╌ ╌ ╌ ╌ ╌ ╌ ╌ ╌ ╌ ╌ ╌ ╌ ╌ ╌ ╌ ╌ ╌ ╌ ╌ ╌ ╌ ╌ │
│ ││About lazyunity 0.1.0 · by Mane Function │
│ ││Donate support lazyunity on GitHub Sponsors · enter to open│
╰──────────────────────────────────────────────────────1 of 7─╯╰──────────────────────────────────────────────────────────────────────1 of 9─╯
╭─Tasks──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ ⠙ Installing 6000.7.0b8 + Web Build Support [■■■■■■■■■■■■················] 42% download · Downloading Web Build Support │
│ ○ Installing iOS Build Support for 6000.6.8f1 queued │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
Open: <enter> | Version: v | Platform: p | Pin: f | New: n | Add: a | Remove: d | Keybindings: ? | Cancel task: X ● signed in · 0.1.0
If something breaks after a Unity CLI update, run lazyunity --safe to start in safe mode and roll the Unity CLI back to a supported version.
- The Unity CLI, version 1.0.0 or newer. If it is missing, lazyunity offers to install it with Unity's official installer (Tools tab,
[3]). docs/UnityCLI.md lists every CLI command, flag and output field lazyunity relies on, and the CLI version I checked them against. - Linux, macOS or Windows. A terminal with colours and, ideally, mouse support.
Install lazyunity with brew, scoop or winget if you can: they also keep it up to date.
- brew (Recommended for Mac and Linux users)
- Run
brew tap manefunction/tapin your terminal to add my tap (app source), if you haven't already. - Run
brew install lazyunityto install the app. - Verify the installation with
lazyunity --version. - That's it: run
lazyunityfrom any folder.
- Run
- Scoop (Recommended for Windows users)
- If you don't have Scoop yet, install it as scoop.sh shows: one line in PowerShell.
- Run
scoop bucket add manefunction https://github.com/ManeFunction/scoop-bucketin PowerShell to add my bucket (app source), if you haven't already. - Run
scoop install lazyunityto install the app. - Verify the installation with
lazyunity --version. - That's it: run
lazyunityfrom any folder.
- WinGet (built into Windows 10 and 11)
- Run
winget install ManeFunction.lazyunityin PowerShell or cmd. Microsoft reviews every new version before WinGet shows it, so WinGet can be a few days behind the other options. - Verify the installation with
lazyunity --versionin a new terminal window. - That's it: run
lazyunityfrom any folder. - Update it with
winget upgrade ManeFunction.lazyunity.
- Run
- go install (for Go developers)
- Run
go install github.com/ManeFunction/lazyunity/cmd/lazyunity@latest. It needs Go 1.27.3 or newer and puts the app into$(go env GOPATH)/bin, which should be on yourPATH. - Verify the installation with
lazyunity --version.
- Run
- Ready-to-use binaries (manual installation)
- Download the archive for your system from the GitHub Releases
page:
darwinis macOS,arm64is Apple Silicon and Windows on ARM,amd64is Intel and AMD. - Unpack it and put
lazyunity(lazyunity.exeon Windows) into a folder on yourPATH. - The binaries are not code-signed. On macOS, run
xattr -d com.apple.quarantine lazyunityonce, or macOS blocks the downloaded binary. - Verify the installation with
lazyunity --version.
- Download the archive for your system from the GitHub Releases
page:
- From source (for advanced users)
- Clone the repository or download the source code from GitHub.
- Go to the folder with the code in your Terminal and run
make build(Go 1.27.3 or newer). - Run
bin/lazyunity --versionto verify the build.
| Panel | What it shows |
|---|---|
| [1] Projects | Your projects with the last time each was opened, its Unity version and its build platform. |
| [2] Editors | Installed Editors with their platforms, and Releases you can install. enter on an Editor shows its modules. |
| [3] Options | Tools, in groups: the Unity CLI, your account and the license; the default project folder, the editors folder and the config file; the OpenUPM CLI; About and Donate. |
| Tasks (bottom) | Progress of installs. The frame shows up only while something installs. Tasks run one at a time, and you can't queue the same Editor or module twice. |
+ and _ switch the screen mode: full (every panel), projects (only Projects) and editors (Editors and Options). Jumping to a panel that is not on screen (1, 2, 3) switches to the mode that shows it.
A new Unity version or platform for a project applies the next time you open it. Until then the change shows in yellow, as 6000.6.8f1→2022.3.62f1 or Linux→Android.
Everything follows lazygit where lazygit has an equivalent. ? shows the keys that work right now, and filters them as you type. You can rebind keys in config.yml.
Everywhere
| Key | |
|---|---|
? |
keybindings menu |
q, ctrl+c |
quit |
tab, l, → / shift+tab, h, ← |
next / previous panel |
1 2 3 |
jump to a panel (again: next tab) |
[ ] |
previous / next tab |
j k, ↓ ↑ |
next / previous item |
, . (or pgup pgdn) |
previous / next page |
< > (or home end) |
top / bottom |
/ |
filter the list; esc clears it |
+ _ |
next / previous screen mode (full, projects, editors) |
R |
refresh |
@ |
command log |
: |
run a shell command |
ctrl+o |
copy the selected path |
X |
cancel the running task |
ctrl+z |
suspend to the shell (not on Windows) |
esc |
clear a filter, or leave an Editor's modules |
Projects
| Key | |
|---|---|
enter, space |
open in Unity |
v |
change the Unity version (a list of installed Editors) |
p |
change the build platform (the platforms installed for that Editor) |
f |
pin or unpin |
n |
new project (name, folder, version, template, options, git) |
a |
add an existing project |
P |
add or remove OpenUPM packages (needs the OpenUPM CLI) |
d |
remove from the list, or delete the folder (asks twice) |
s |
sort: last opened, name, Unity version |
o / e |
open the folder / edit in a code editor |
i |
project details |
y |
copy the path, name or version |
C |
clean caches (Library, Temp ...) |
g |
git tools: git init, .gitignore, .gitattributes, YAML merge tool on or off |
Editors, Installed Editors
| Key | |
|---|---|
enter |
modules |
a |
add modules |
n |
install a new Editor |
d |
uninstall |
space |
set default |
U |
update to the newest patch, when one is out (the row says "· update X available ·") |
o |
folder |
y |
copy |
Modules of an Editor
| Key | |
|---|---|
space, a, enter |
install |
d |
remove |
Releases
| Key | |
|---|---|
enter, space |
install |
/ |
filter by version, in the row at the bottom of the tab (searches every page of releases, not only the loaded ones) |
ctrl+s |
release stream: Supported (the default), LTS, Beta, Alpha or All |
o |
release notes |
Anywhere in the Editors panel: C cleans the download cache: installers and partial downloads of interrupted installs. It shows the size and asks first, and it doesn't run while a task runs.
config.yml lives in ~/.config/lazyunity/ (~/Library/Application Support/lazyunity/ on macOS, %LOCALAPPDATA%\lazyunity\ on Windows, as with lazygit), or wherever --config-dir or $LAZYUNITY_CONFIG_DIR points. If $XDG_CONFIG_HOME is set, the file lives in $XDG_CONFIG_HOME/lazyunity/ on every system. lazyunity only reads config.yml; what the interface remembers (pending choices, sort order) goes to state.yml next to it. The first time you open config.yml from the Tools tab, lazyunity fills it with every setting, keybindings included, commented out and set to the default.
gui:
border: rounded # rounded, single, double, bold, hidden
sidePanelWidth: 0.45
mouseEvents: true
showPanelJumps: true
showListFooter: true # "1 of 20" on a list's bottom border
screenMode: full # full, projects, editors
portraitMode: auto # one column of panels: auto, always, never
portraitModeAutoMaxWidth: 84 # auto: when the window is at most this wide
portraitModeAutoMinHeight: 46 # and at least this tall
theme: # a colour and modifiers: [brightblue, bold], '#5c9dff', ...
activeBorderColor: [brightblue, bold]
selectedLineBgColor: [blue]
keybinding: # lazygit's notation works: <c-s>, <space>, <enter>
universal:
quit: [q, <c-c>]
refresh: <disabled>
projects:
open: [<enter>, O]
os:
edit: code {{dir}} # for `e`; default is $VISUAL / $EDITOR
openFolder: '' # default is xdg-open, open or explorer
shell: '' # for `:`; default is $SHELL, or cmd on Windows (pwsh works too)
unity:
cliPath: '' # default: found automatically
projects:
defaultLocation: ~/Projects
quitAfterOpen: falseCommand lines (os.edit, os.openFolder, $VISUAL / $EDITOR) split into words as in a shell, and quotes group words, but lazyunity expands nothing in them. On Windows a backslash is part of the path, so C:\Tools\nvim.exe {{dir}} works as written; on Unix it escapes the next character.
lazyunity can add OpenUPM packages to your projects through openupm-cli.
-
Installing the CLI. The OpenUPM CLI row of the Tools tab installs it with npm, which needs Node.js. By default you get the official release from the npm registry. With
openupm.reposet inconfig.yml, lazyunity clones and builds that repository (the official one or a fork) instead, which also needs git. -
Updates. Like the Unity CLI row, the row says
ready · <version>for the npm release andupdate available: <version>once a newer one is out. A build from a repository reads<version> · from <repo>@<branch> #<commit>, and the row offers an update whenever the branch has newer commits, even when the version did not change. -
Packages.
Pin Projects opens the project's OpenUPM packages, in four groups:- Mane Packages: ManeTools, ManeTools for UI and Sound Maneger.
- Often used: UniTask, Particle Effect For UGUI, SoftMask For UGUI and UIEffect.
- Your selection:
openupm.packagesofconfig.yml(below). - Other installed: the rest of the manifest's packages that come from OpenUPM, and the ones you add in the popup.
Packages the project already has show a green
[✓].spaceticks a package to add, marked[↓]; unticking an installed one marks it[✗].enterlists the changes and, once you confirm, runsopenupm addfor the ticked packages andopenupm removefor the unticked ones. Ticking ManeTools for UI or Sound Maneger also ticks ManeTools, which they need; unticking ManeTools unticks them.oopens the selected package's GitHub page.escwith changes not applied asks whether to apply them (enter), discard them (d) or go back to the list (esc). -
Adding any package. The field at the bottom of the list (
tab, ordownpast the last package) takes a package name, such ascom.example.packageorcom.example.package@1.2.0.enterlooks it up in the OpenUPM registry; the popup and lazyunity don't close until the answer comes. If the registry has the package, it joins the last group, ticked, and lazyunity adds it with the rest when you apply the popup.enterin the empty field applies it. -
New projects. With the CLI installed,
n(new project) has a sixth step with the same list. lazyunity adds the ticked packages before the Editor opens. -
Your own packages.
openupm.packagesinconfig.ymladds packages to the list, in their own group, optionally pinned to a version:openupm: packages: [com.example.package, com.example.other@1.2.3]
-
Hiding the built-in groups.
openupm.showManePackages: falsehides Mane Packages, andopenupm.showOftenUsed: falsehides Often used. Both show by default. A hidden package the project already has is still listed, under Other installed.
Where the CLI comes from: the openupm block of config.yml sets it.
# openupm: # commented out: the Tools tab installs the official npm release
# repo: https://github.com/ManeFunction/openupm-cli # set: clone, build and install from this git repo
# ref: no-more-legacy # a branch or tag to build; empty: the default branchOpenUPM CLI fork. Until openupm/openupm-cli#430 is merged, I recommend the fork in the block above. It drops deprecated dependencies, so npm no longer floods the install with deprecation warnings. It also cuts the npm audit findings from 19 vulnerable production packages (one critical) to 5, and fixes openupm login with a username and password, which sent the email as the password and logged in to registry.npmjs.org instead of the registry you asked for. It needs Node.js 20.17+ or 22.9+. Uncomment the block to use it; leave it commented out for the official npm release.
g on a project opens Git tools. They need git on the PATH. If the project is in no repository, the popup offers git init in the project folder first and keeps the other items locked until then.
- Add .gitignore (
1) writes a.gitignoreinto the project folder. It is based on GitHub's Unity.gitignore plus the IDE and OS templates. It ignores:- what Unity generates:
Library,Temp,Obj,Logs,UserSettings,Build(s), crash and recovery files; - IDE files:
.idea,.vscode,.vs,.fleet,*.csproj,*.sln; - OS clutter:
.DS_Store,Thumbs.db,desktop.ini,.directory.
- what Unity generates:
- Add .gitattributes (
2) writes a.gitattributesinto the repository root:* text=auto: the repository keeps LF line endings. Windows checkouts get CRLF, and git converts them back to LF on commit..shfiles always use LF;.bat,.cmdand.ps1always use CRLF.- Textures, audio, video, 3D models, fonts, archives, libraries and
LightingData.assetare markedbinary, so git never diffs or merges them.
- Enable / Disable YAML merge tool (
3) sets up Unity's smart merge (UnityYAMLMerge), taken from the Editor the project uses:- A merge driver: git merge, rebase and pull merge scenes, prefabs and other Unity YAML files with it, without opening any window. When conflicts are left, or the Editor is gone, git writes its usual conflict markers and marks the file conflicted.
- A merge tool:
git mergetool(orgit mergetool -t unityyamlmergewhen you already have another merge tool) merges what it can and opens a fallback tool from Unity'smergespecfile.txtfor the rest. - The settings go into the repository's own
.git/config, never your global one. The lines that send Unity files to the driver go at the end of.gitattributes, between# >>> lazyunityand# <<< lazyunitycomments. Disabling removes both. - When the project moves to another Unity version, lazyunity points the merge driver and tool at the new Editor the next time it lists the projects.
- Commit
.gitattributes, so git sends Unity files to the driver for your teammates too. Git never runs commands from a repository, so each teammate enables the tool once in their clone.
When a file is already there, items 1 and 2 ask whether to add only the lines it lacks (enter) or replace it (r).
New projects. With git installed, n (new project) has a git step with four checkboxes: Initialize a git repository and the three items above, which stay locked while the first is unticked. If the new project's folder is already inside a repository, the first box starts unticked and the files go into that repository.
- lazyunity asks before it installs, removes or deletes anything. Deleting a project's folder asks twice, and lazyunity refuses to delete the home folder or anything that is not a Unity project.
- Quitting during a task asks first.
- lazyunity never writes the Hub's files itself. It asks the CLI.
- Editors older than 2019.1, and any Editor when the CLI is missing, open directly. That works, but the Editor starts signed out.
- To move a project to Unity 6.7 or later, lazyunity runs
unity projects upgrade, becauseunity openrefuses to upgrade it.
Thanks to the whole lazygit team for the inspiration and for a great Git client 🤎
lazyunity is made by Ilia Petrov-Komotskii (Mane Function). If it saves you time, you can support it on GitHub Sponsors.
This repo follows the Conventional Commits specification.
