惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

月光博客
月光博客
D
Docker
腾讯CDC
J
Java Code Geeks
大猫的无限游戏
大猫的无限游戏
The Cloudflare Blog
Martin Fowler
Martin Fowler
MongoDB | Blog
MongoDB | Blog
博客园 - Franky
博客园 - 三生石上(FineUI控件)
Recent Announcements
Recent Announcements
F
Fortinet All Blogs
IT之家
IT之家
WordPress大学
WordPress大学
M
MIT News - Artificial intelligence
爱范儿
爱范儿
Microsoft Azure Blog
Microsoft Azure Blog
Vercel News
Vercel News
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
小众软件
小众软件
N
Netflix TechBlog - Medium
T
Tailwind CSS Blog
Engineering at Meta
Engineering at Meta
博客园 - 【当耐特】

Nx Blog

Sharing Tailwind CSS Styles Across Apps in a Monorepo | Nx Blog How SiriusXM Stays Competitive by Iterating and Getting to Market Fast | Nx Blog Agentic Experience Is the New Developer Experience | Nx Blog Nx Joins the Linux Foundation and the Agentic AI Foundation | Nx Blog A Monorepo Is NOT a Monolith | Nx Blog Why we deleted (most of) our MCP tools | Nx Blog Teach Your AI Agent How to Work in a Monorepo | Nx Blog How Broadcom stays efficient and nimble with monorepos | Nx Blog Why Monorepos are King in the Age of AI | Nx Blog Nx 2026 Roadmap: Expanding Agent Autonomy, Improving Performance, Better Polyglot and More | Nx Blog End to End Autonomous AI Agent Workflows with Nx | Nx Blog Autonomous Agents at Scale | Nx Blog Scaling 700+ Projects: How Nx Became a 'No-Brainer' for Caseware | Nx Blog Configure Tailwind v4 with Angular in an Nx Monorepo | Nx Blog The Missing Multiplier for AI Agent Productivity | Nx Blog A Year of Nx Webinars | Nx Blog Wrapping Up 2025 | Nx Blog Nx 22.3 Release: Angular 21 Support, tsgo Compiler, and Prettier v3 | Nx Blog Nx Cloud Release: Agent Resource Usage | Nx Blog Nx Platform Outperforms DIY Cache by 5x | Nx Blog An Nx Carol: Past, Present, and Future of Your Monorepo | Nx Blog Nx 22.1 Release: Terminal UI on Windows, Storybook 10, Vitest 4, and more! | Nx Blog The Compounding Effect: How Nx Features Multiply Performance Gains | Nx Blog 10 Monorepo Myths Debunked: Separating Fact from Fiction | Nx Blog Nx Cloud Release: Enterprise Task Analytics | Nx Blog Watch and Rebuild Storybook Dependencies with Nx | Nx Blog Book - React for Enterprise: Timeless Architecture for Enterprise Apps | Nx Blog Beyond Remote Cache: Unlock 70% More CI Performance | Nx Blog Nx 22 Release: Expanding the build platform | Nx Blog What's the Point of Generating All This Code If You Can't Merge It? | Nx Blog
A New UI For The Humble Terminal | Nx Blog
Mike Hartington · 2025-05-10 · via Nx Blog

Nx 21 Launch Week

At Nx, we're all about providing great experiences. From project inference, to our MCP server, to the great Nx Console extension for VS Code and IntelliJ, we work hard to make sure that developers have a smooth experience when working on their projects. However, there has been one place where you probably got the least great experience compared to the rest: the terminal.

"Um, it's a terminal, it doesn't need much. Why spend time trying to improve it?"

Great question! Why spend time on a terminal? Well, the terminal is the starting point that every developer begins with, and it's ripe for improvements. Plus, with the migration to Rust for Nx core, we took this chance to reevaluate how developers experience the terminal. With a new suite of Rust-based packages at our disposal, we're thrilled to share our brand new terminal UI (or TUI) for Nx 21. Let's dive in!

The Status Quo

Let's first look at how the terminal behaves in Nx 20 and below. In a project with multiple packages, if you run nx run-many, what you'll first notice is that you get all the output from any continuous tasks mixed together in one giant stream. This is very typical in most terminal programs, but with monorepos it's not ideal. For instance, let's say we have a build error in one of our projects:

It might be hard to notice that we had the error if we have multiple tasks being run, so unless we scroll up, we could miss it. This might sound trivial, but it's an annoyance that doesn't have to happen. It's also difficult to separate tasks that are continuous and those that have an ending.

Rust To The Rescue

With the Rust migration, we've been looking at the Rust ecosystem and noticed how many terminal-based programs seem to provide a great TUI. For example, if we wanted a resource monitor that was written in Rust, there is btop, and it looks awesome:

Screenshot showing the resource monitor btop

This led us to the Rust package ratatui, a Rust library for building TUIs. Ratatui provides common building blocks and hooks for working with terminal programs. With Ratatui, we went ahead and rebuilt our TUI with the following goals:

  • Provide a great looking UI
  • Provide clear output for all tasks
  • Provide a way to interact with multiple running processes

So let's see what we've built:

Screenshot of the Terminal UI for Nx

There are a few things going on here, so let's walk you through it.

A Clear Overview Of Projects

One of the things you may notice is that instead of a stream of output, you're presented with a clear list of all project tasks being run for the given session. You can scroll through the list of tasks with the arrow keys or h/j if you're used to vim-based navigation.

To inspect a task and its output, you can press Space to open a new window with all of the output from that given task. If that output has a lot of content and you'd like to see something further up, you can hit Tab and then use the arrow keys to scroll up and down in the output.

Screenshot of Nx Terminal UI showing how multiple running tasks appear in the sidebar

If you have a lot of projects being run, and you'd like to filter the list of tasks, you can press / and type the project you're looking for.

Screenshot of Nx Terminal UI showing how filters reduce the number of tasks visible

And finally, if there's a particular project that you'd like to constantly see the output for, you can pin the output by pressing 1 or 2.

Screenshot of Nx Terminal UI showing how pinning tabs results in their logs being visible

Now there are more key bindings in this new TUI, and to see them all, you can use the ? key.

Screenshot of Nx Terminal UI's help screen

Parting Thoughts

Now, while the new TUI is awesome, it currently is not available on Windows due to various issues with pseudo-terminals. While not ideal, we hope to resolve these issues as soon as possible, so keep an eye out! For macOS and Linux, you can upgrade to Nx 21 today to take advantage of the new TUI:

nx migrate latest
nx migrate --run-migrations

Learn more: