Hacker News new | ask | show | jobs
by rewmie 922 days ago
> What is the difference between these on Windows?

A command line interface (CLI), as the name implies, is a user interface pattern consisting of an application that you pass arguments to it through the command line to form a request/command to be executed by the application.

This type of user interface also covers features such as exit code and text input/output through standard streams as to allow programs to be compostable through pipes.

For example, '$ cp origin rest', '$ grep -Ri foo /opt | sort', etc.

A terminal user interface (TUI) is a type of user interface which uses a terminal's limited features to provide a windowed user interface that supports interactivity.

For example, see apps like vim, fdisk, etc.

1 comments

I was asking about console vs. terminal. Not CLI vs. TUI (?)