Skip to content

Add new and improved installer script - #477

Closed
ryanrhughes wants to merge 46 commits into
omacom:devfrom
ryanrhughes:install-script-modifications
Closed

ryanrhughes wants to merge 46 commits into
omacom:devfrom
ryanrhughes:install-script-modifications

Conversation

@ryanrhughes

Copy link
Copy Markdown
Collaborator

This is a refined installer experience that builds upon the current installer.

Boot...Install...Install-main

Currently, or installer is effectively 3 files which I've considered changing but decided against for a few reasons.

  • boot.sh - Handles cloning the repo, and calling install.sh.
  • install.sh - Handles running any preflight items and launching the cage instance.
  • install-main.sh - The actual installer that runs inside of the cage instance.

We could perhaps merge boot.sh and install.sh but that'll mean that to reattempt the installer, we'd need to instruct users to run boot.sh which would wipe and reload the whole repo. This could be OK but isn't what we've done to date so I've left it in 3 parts for now knowing that merging these two would be really easy.

install-main.sh must remain as a separate part since it's what's executed by the cage instance.

New Install Experience

installer-full-run.mp4

Key Changes

  • Main installer runs inside of a cage instance providing access to full color capabilities with the Tokyo Night theme passed in
  • Maintains a refined installer view that doesn't push the Omarchy logo off of the screen
  • All logs are streamed to the journal so we can display them in a confined area on the installer, as well as retrieve them with journalctl -t omarchy-install. This also means we don't have to deal with where to put a log file, or retrieving it if users are having troubles.

New Error State Experience

installer-error.mp4

It's worth noting that the error state will show the actual last line that caused the error when it happens organically but this video was generated with a simple interrupt so there's no command to map back to.

New Stats Reporter

We may choose not to keep this but given we're piping to the journal, it opened the opportunity to also pass a little more info in fro retrieval later. Something like this gives us the ability to add omarchy-install-stats and be able to analyze which portions of our install process are objectively taking longest and perhaps need some optimization.

Screenshot-2025-08-03-174355

Testing

There is a piece I've left in for now where you can run with TEST_MODE=true ~/.local/share/omarchy/install.sh and it'll run everything just as it would but instead of calling the actual scripts, it calls test_task.sh which just pipes some simulated output. This allows quick and easy debugging of the rendering, as well as simulation of actual sub-process errors by adding exit 1 to the test_task.sh.

We may decide to back this out of the final form.

@ryanrhughes
ryanrhughes force-pushed the install-script-modifications branch from 914ba14 to 9d06b54 Compare August 3, 2025 22:14
@weierfischen

Copy link
Copy Markdown

Looks great! Big fan of the stats, stats are always fun. I find the log font color to be a bit dim, perhaps something with a bit more contrast?

@ColtonIdle

Copy link
Copy Markdown

love this. a "middle ground" might be to have the really basic installer, and some keyboard shortcut/toggle to hide/show more logs. sorta how i think ubuntu does it. it gives you just a basic loading bar. but you can click the drop down and it'll give you the exact commands its executing.

@dhh

dhh commented Sep 9, 2025

Copy link
Copy Markdown
Contributor

Going with a newly revamped version that Ryan has been cooking instead.

@dhh dhh closed this Sep 9, 2025
DanteCpp pushed a commit to DanteCpp/omarchy that referenced this pull request Oct 16, 2026
…tion-proposal

docs: propose MLX and ANE release integration
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants