2024-03-05 01:32:06 +01:00
+++
2024-09-05 01:49:36 +02:00
title = "The Modern CLI Renaissance"
date = 2024-09-04T12:20:02-06:00
draft = false
2024-03-05 01:32:06 +01:00
+++
2024-03-09 21:44:41 +01:00
<!--
2024-03-14 19:03:31 +01:00
tool,link,year,language
ls,,1961,c
cat,,1971,c
cd,,1971,c
cp,,1971,c
man,,1971,c
rm,,1971,c
grep,,1973,c
diff,,1974,c
sed,,1974,c
bc,,1975,c
make,,1976,c
vi,,1976,c
2024-04-22 23:55:18 +02:00
TeX,,1978,pascal
2024-03-15 10:03:36 +01:00
bourne shell,,1979,c
2024-03-14 19:03:31 +01:00
awk,,1985,c
screen,,1987,c
2024-03-15 10:03:36 +01:00
bash,https://www.gnu.org/software/bash/,1989,c
zsh,https://www.zsh.org/,1990,c
2024-03-14 19:03:31 +01:00
vim,https://www.vim.org/,1991,c
midnight commander,,1994,c
ssh,,1995,c
2024-03-15 10:03:36 +01:00
curl,https://github.com/curl/curl,1996,c
2024-04-22 23:55:18 +02:00
fish,https://fishshell.com/,2005,c++ (currently being rewritten in rust)
2024-03-14 19:03:31 +01:00
fossil,https://fossil-scm.org/home/doc/trunk/www/index.wiki,2006,c
tmux,https://github.com/tmux/tmux,2007,c
git,https://git-scm.com/,2008,c
2024-08-11 01:01:05 +02:00
the silver searcher,https://github.com/ggreer/the_silver_searcher,2011,c
jq,https://github.com/jqlang/jq,2012,c
2024-03-14 19:03:31 +01:00
go 1.0,https://go.dev/,2012,go
fzf,https://github.com/junegunn/fzf,2013,go
eza/exa,https://github.com/eza-community/eza,2014,rust
neovim,https://neovim.io/,2015,c
pueue,https://github.com/Nukesor/pueue,2015,rust
rust 1.0,https://www.rust-lang.org/,2015,rust
just,https://github.com/casey/just,2016,rust
micro,https://micro-editor.github.io/,2016,go
nnn,https://github.com/jarun/nnn,2016,c
ripgrep,https://github.com/BurntSushi/ripgrep,2016,rust
fd,https://github.com/sharkdp/fd,2017,rust
bat,https://github.com/sharkdp/bat,2018,rust
broot,https://dystroy.org/broot/,2018,rust
difftastic,https://difftastic.wilfred.me.uk/,2018,rust
hyperfine,https://github.com/sharkdp/hyperfine,2018,rust
lazygit,https://github.com/jesseduffield/lazygit,2018,go
lsd,https://github.com/lsd-rs/lsd,2018,rust
nushell,https://www.nushell.sh/,2018,rust
scc,https://github.com/boyter/scc,2018,go
sd,https://github.com/chmln/sd,2018,rust
git-delta,https://github.com/dandavison/delta,2019,rust
2024-08-11 01:01:05 +02:00
bottom,https://github.com/ClementTsang/bottom,2019,rust
2024-03-14 19:03:31 +01:00
grex,https://github.com/pemistahl/grex,2019,rust
starship,https://starship.rs/,2019,rust
tre,https://github.com/dduan/tre,2019,rust
typst,https://typst.app/,2019,rust
diskonaut,https://github.com/imsnif/diskonaut,2020,rust
helix,https://helix-editor.com/,2020,rust
2024-08-11 01:01:05 +02:00
duf,https://github.com/muesli/duf,2020,go
2024-03-14 19:03:31 +01:00
pijul,https://pijul.org/,2020,rust
zellij,https://zellij.dev/,2020,rust
zoxide,https://github.com/ajeetdsouza/zoxide,2020,rust
btop,https://github.com/aristocratos/btop,2021,c++
ast-grep,https://github.com/ast-grep/ast-grep,2022,rust
yazi,https://github.com/sxyazi/yazi,2024,rust
2024-03-09 21:44:41 +01:00
-->
2024-03-05 01:32:06 +01:00
2024-03-14 19:03:31 +01:00
<!--
open tmp.csv |
sort-by year tool |
update tool {|i| if ($i.link != "") {$"[($i.tool)]\(($i.link)\)"} else {$i.tool}} |
select tool year language |
to md |
xsel -bi
-->
<!--
ls specifically can trace its history to 1961
-->
2024-09-02 04:05:51 +02:00
Over the past few years, it seems like the rate at which new CLI tools are being written has picked back up again,
accelerating after seeing relatively little activity between ~1995 and ~2015.
I'd like to talk about this trend I've noticed,
2024-03-19 01:39:47 +01:00
where people are rewriting and rethinking staples of the command line interface,
why I think this trend might be happening,
and why I think this trend is a good thing.
2024-03-05 07:54:51 +01:00
2024-03-09 21:44:41 +01:00
## History
2024-03-05 07:54:51 +01:00
2024-03-19 01:39:47 +01:00
The terminal and the command line interface have been staples of computer user interfaces before computer monitors were even available,
2024-03-05 01:32:06 +01:00
with some of the first computers offering an interactive mode in the late 1950's.
2024-03-19 01:39:47 +01:00
The recognizable Linux terminal traces its linage to the very first version of Unix in 1971.
2024-03-05 07:54:51 +01:00
Many utilities that a Linux user interacts with every day,
2024-03-19 01:39:47 +01:00
commands like `rm` , `cat` , `cd` , `cp` , `man` , and a host of other core commands trace their initial versions to this first version of Unix.
Other tools are a bit newer, such as `sed` (1974), `diff` (1974) `bc` (1975), `make` (1976), or `vi` (1976).
There were a few more tools introduced in the 90's, such as `vim` (1991) and `ssh` (1995), but you get the picture.
2024-03-05 01:32:06 +01:00
The majority of the foundational CLI tools on a Linux pc, even one installed yesterday, are older than Linux itself is.
2024-03-09 21:44:41 +01:00
## Ok, so?
2024-03-05 01:32:06 +01:00
2024-07-31 06:58:49 +02:00
Now, there's nothing wrong with this.
2024-03-19 01:39:47 +01:00
The tools still work fine, but in the half-century since they were first written,
terminals and the broader Linux ecosystem have all changed.
2024-03-05 01:32:06 +01:00
Terminals now have capacity to display more colours, Unicode symbols, and even inline images.
2024-03-05 07:54:51 +01:00
Terminal programs now coexist with graphical user interfaces,
and only a small subset of computer users even know they exist,
2024-03-19 01:39:47 +01:00
whereas in the past, terminals were the only way one interacted with the computer.
2024-03-05 01:32:06 +01:00
2024-03-19 01:39:47 +01:00
These changes to the environment surrounding CLI apps in recent years have
2024-03-05 07:54:51 +01:00
led to a resurgence in development of command line utilities.
2024-03-19 01:39:47 +01:00
Instead of just developing completely new tools or cloning old tools,
2024-07-31 06:58:49 +02:00
I've noticed that people are rethinking and reinventing tools that have existed since the early days of Unix.
2024-03-05 07:54:51 +01:00
2024-07-31 06:58:49 +02:00
This isn't just some compulsive need to rewrite every tool out there in your favorite language.
2024-03-19 01:39:47 +01:00
People are looking at the problem these tools set out to solve,
and coming up with their own solutions to them,
exploring the space of possible solutions and taking new approaches.
Its this exploration of the solution space that id like to take a look at:
the ways that tools are changing,
why people are changing them,
and what kicked off this phenomenon.
2024-03-15 10:03:36 +01:00
2024-03-09 21:44:41 +01:00
## The lessons learned from the past
2024-03-05 07:54:51 +01:00
2024-03-19 01:39:47 +01:00
A large amount of the innovation in the area, I think,
can be attributed to lessons that have been learned in 50 years of using software:
2024-03-15 18:03:16 +01:00
sharp edges we have repeatedly cut ourselves on,
unintuitive interfaces that repeatedly trip us up,
and growing frustration at the limitations that maintaining decades of backwards compatibility imposes on our tools.
2024-03-14 19:03:31 +01:00
2024-03-15 18:03:16 +01:00
These lessons have been gathering in the collective conciousness;
through cheatsheets, guides, and FAQs;
resources to guide us through esoteric error messages, complex configurations, and dozens upon dozens of flags.
2024-03-14 19:03:31 +01:00
2024-03-15 18:03:16 +01:00
Id like to go over a couple of the more prominent lessons that I feel terminal tools have learned in the past several decades.
2024-03-14 19:03:31 +01:00
2024-03-09 21:44:41 +01:00
### A good out of the box experience
2024-03-05 07:54:51 +01:00
2024-03-15 18:03:16 +01:00
While configurability is great,
one should not need to learn a new configuration language and dozens or hundreds of options to get a usable piece of software.
2024-03-14 19:03:31 +01:00
Configuration should be for customization, not setup.
One of the earliest examples of this principle may be the fish shell.
2024-03-15 18:03:16 +01:00
Both zsh and fish have powerful prompt and autocompletion engines,
but zsh requires you to setup a custom prompt and enable completions in order to use the features that set it apart from the competition.
With no config file, zsh is no better than bash.
2024-03-19 01:39:47 +01:00
When starting fish for the first time, however,
2024-03-15 18:03:16 +01:00
its powerful autocompletion and information rich prompt are front and center with no configuration required.
Of course, fish still has the same level of configurability as zsh, it just also has sensible defaults.
To demonstrate my point, this is the default prompt for zsh with no configuration.
2024-03-19 01:39:47 +01:00
It *only* shows the hostname, none of the advanced features you can get out of a zsh prompt even without plugins.
2024-08-06 18:31:55 +02:00
![zsh prompt, only shows hostname ](zsh-prompt.png )
2024-03-15 18:03:16 +01:00
Here is bash's prompt.
It actually gives more info than zsh's, even though zsh can do more when properly configured.
2024-08-06 18:31:55 +02:00
![bash prompt, shows hostname and current directory ](bash-prompt.png )
2024-03-15 18:03:16 +01:00
And here is fish's default prompt.
It has a few colours, shows everything the bash prompt does, and additionally shows the git branch we are on.
2024-08-06 18:31:55 +02:00
![fish prompt, has colours, shows hostname, current directory, and git info ](fish-prompt.png )
2024-03-15 10:03:36 +01:00
2024-03-15 18:03:16 +01:00
Text editors are another great example of the evolution of out of the box defaults.
Vim and Neovim both improved on their predecessors,
but much of that improvement is locked behind extremely complex configuration experiences and plugins.
2024-07-31 06:58:49 +02:00
Here's four different terminal text editors with no configuration applied:
2024-03-15 10:03:36 +01:00
![vi, vim, neovim, and helix editors in their default
configuration](editors.png)
2024-07-31 06:58:49 +02:00
Vi, (top left) is our baseline, and, as far as I can tell, doesn't actually
2024-03-15 10:03:36 +01:00
support much for configuration. What you see out of the box is more or less
whats there.
2024-03-15 18:03:16 +01:00
Vim (top right) greatly improved on Vi, adding things such as syntax highlighting, line numbers, spellchecking, split windows, folding, and even basic autocompletion.
2024-03-19 01:39:47 +01:00
However, everything but syntax highlighting is either extremely clunky or outright disabled without configuration.
2024-09-02 04:05:51 +02:00
For example, the earliest things I did when I first made a `.vimrc` was to enable indent folding,
make some better keybinds for navigating windows, and adding a line number ruler to the side.
2024-03-15 18:03:16 +01:00
2024-03-19 01:39:47 +01:00
Neovim (bottom left) further improved on Vim, adding support for Treesitter and the Language Server Protocol,
but the out of the box experience is the *exact* same as vim!
2024-03-15 18:03:16 +01:00
In order to take advantage of the LSP and Treesitter support, you have to install plugins,
2024-03-19 01:39:47 +01:00
which means learning a Nvim package manager, learning how to configure LSPs,
and configuring a new LSP for every language you want to use it with
2024-09-02 04:05:51 +02:00
or finding out about Mason and being OK with having multiple levels of package management in your Nvim install alone.
2024-07-31 06:58:49 +02:00
Don't get me wrong: Neovim is a great editor once you get over the hump.
2024-03-19 01:39:47 +01:00
I still use it as my daily driver, but so much of its functionality is simply hidden.
Then we have the Helix (bottom right) editor.
Slightly glaring default colour scheme aside, everything is just *there* .
2024-07-31 06:58:49 +02:00
Helix doesn't have plugin support [yet ](https://github.com/helix-editor/helix/discussions/3806 ),
2024-03-15 18:03:16 +01:00
but it has so much stuff in core that,
looking through my neovim plugins,
pretty much all of them are in the core editor!
2024-09-02 04:05:51 +02:00
Ironically, the one feature that I feel helix is missing, [folding ](https://github.com/helix-editor/helix/issues/1840 ),
is a core part of neovim, albeit one that requires some configuration to get good use out of.
2024-03-15 18:03:16 +01:00
Helix does have a config file where you can change a huge amount of settings,
2024-03-19 01:39:47 +01:00
but its an extremely usable IDE out of the box thanks to having all of its features enabled by default.
2024-03-05 07:54:51 +01:00
2024-08-09 10:56:54 +02:00
### Helpful error messages
2024-03-05 07:54:51 +01:00
2024-03-19 01:39:47 +01:00
<!-- look at nushells error messages -->
2024-08-31 01:01:42 +02:00
When the user does do something wrong, it is vital to let them know exactly what, where, and how it went wrong,
and if at all possible, what action the user can do to fix it.
`Operation Failed` , `Error` or `syntax error` on their own are horrible error messages.
They tell you that something *somewhere* failed, giving almost no information the user can use to troubleshoot.
In the worst case, they can even point you in a completely different direction than what is actually needed to fix things.
Git is a good example of this. As much as I love git, sometimes its error messages are the opposite of helpful.
To borrow an example from [Julia Evans ](https://jvns.ca/blog/2024/04/10/notes-on-git-error-messages/#git-checkout-asdf ),
if you run `git checkout SomeNonExistantBranch` , you get:
2024-09-02 04:05:51 +02:00
`error: pathspec 'SomeNonexistantBranch' did not match any file(s) known to git` .
2024-08-31 01:01:42 +02:00
This is confusing because you are trying to checkout a branch, you arent thinking about files.
Another example, I covered [before ](../nushell ) is the contrast between Bash and Nushell.
Consider the following script:
{{< highlight sh " linenos = false" > }}
$ for i in $(ls -l | tr -s " " | cut --fields=5 --delimiter=" "); do
echo "$i / 1000" | bc
done
{{< / highlight > }}
This gets the sizes of all the files in KiB. But what if we typo the cut field?
{{< highlight sh " linenos = false" > }}
$ for i in $(ls -l | tr -s " " | cut --fields=6 --delimiter=" "); do
echo "$i / 1000" | bc
done
(standard_in) 1: syntax error
(standard_in) 1: syntax error
(standard_in) 1: syntax error
(standard_in) 1: syntax error
(standard_in) 1: syntax error
(standard_in) 1: syntax error
(standard_in) 1: syntax error
(standard_in) 1: syntax error
(standard_in) 1: syntax error
{{< / highlight > }}
Due to the syntax error coming from bc rather than bash directly,
even the line number it gives you is misleading,
and in order to have the slightest clue whats going on,
you have to start print debugging.
The equivalent in nushell would be:
{{< highlight sh " linenos = false" > }}
> ls | get size | each {|item| $item / 1000}
{{< / highlight > }}
and the equivilant error would be:
{{< highlight sh " linenos = false" > }}
> ls | get type | each {|item| $item / 1000}
Error: nu::shell::eval_block_with_input
× Eval block failed with pipeline input
╭─[entry #5:1:1 ]
1 │ ls | get type | each {|item| $item / 1000}
· ─┬
· ╰── source value
╰────
Error: nu::shell::type_mismatch
× Type mismatch during operation.
╭─[entry #5:1:30 ]
1 │ ls | get type | each {|item| $item / 1000}
· ──┬── ┬ ──┬─
· │ │ ╰── int
· │ ╰── type mismatch for operator
· ╰── string
╰────
{{< / highlight > }}
Though the first error isnt helpful, the second one tells us right away that `$item` is not what we expect it to be,
hopefully pointing us to the `get type` mistake.
Nushells error messages are miles ahead of other shells just...
being useful, helping you find where you made an error,
rather than just telling you theres an error *somewhere* .
2024-03-15 10:03:36 +01:00
2024-03-09 21:44:41 +01:00
### Concise and discoverable documentation
2024-03-05 07:54:51 +01:00
2024-08-06 04:43:33 +02:00
In my Nvim config, I use [which-key ](https://github.com/folke/which-key.nvim ),
2024-07-30 00:43:15 +02:00
a plugin that displays available keybindings as you type.
2024-07-31 06:58:49 +02:00
I've been using vim for almost a decade, including a long time without which-key,
2024-07-30 00:43:15 +02:00
so its not like I never learned the keybindings, but I still find which-key useful.
Why is that, you may ask?
2024-07-31 06:58:49 +02:00
Well, because even though I use (n)vim every day, I don't use all the keybindings every day.
2024-07-30 00:43:15 +02:00
I might go months between using, for example, `dap` (delete current paragraph), or `C-w x` (swap current window for next).
Naturally, when you go months without using certain parts of a program, you tend to forget they exist.
2024-07-31 06:58:49 +02:00
Which-key solves that handily, by offering quick, non-intrusive reminders of what is available.
Here's what my which-key config looks like:
2024-07-30 00:43:15 +02:00
2024-08-06 18:31:55 +02:00
![Which-key.nvim, showing contextual key hints ](nvim-which-key.png )
2024-07-30 00:43:15 +02:00
Now, which-key and its like have been around for a while,
2024-07-31 06:58:49 +02:00
but other TUI programs have integrated contextual hints without the need for a plugin.
2024-07-30 00:43:15 +02:00
The two that I am aware of are zellij and helix.
2024-08-06 18:31:55 +02:00
![Helix's contextual hint ](helix-contextual-hint.png )
2024-07-30 00:43:15 +02:00
Helix both has autocompletion for its built in command line and a contextual hint that appears when you press the first key in a multi key combo.
This drastically helps both new and experienced users learn and remember keybinds without making the editor any less powerful.
2024-08-06 18:31:55 +02:00
![Zellij's hint bar ](zellij-hints.png )
2024-08-06 04:43:33 +02:00
2024-07-30 00:43:15 +02:00
Zellij has a bottom bar displaying keybindings available in the current mode.
2024-07-31 06:58:49 +02:00
This has proven invaluable for me, as I don't use a terminal multiplexer much
2024-07-30 00:43:15 +02:00
(On GUI systems, I use the window manager for managing multiple terminals), and as such tend to forget the keybinds.
2024-08-06 04:43:33 +02:00
Though it does take up screen space, and a person who used Zellij every day would most likely disable it,
the hints bar is more than worth it for new and occasional users.
2024-03-05 07:54:51 +01:00
2024-03-09 21:44:41 +01:00
### Common usecases should be easy
2024-03-05 07:54:51 +01:00
2024-04-17 00:16:49 +02:00
Where possible, documentation should not even be required for the most common use cases.
Whenever I want to use `find` , I almost always have to first look at the man page,
2024-07-31 06:58:49 +02:00
as I don't use it quite often enough to memorize it.
But that's totally unneeded! 90% of my uses of `find` take the form of `find ./ -name "*foo*"` .
2024-04-22 23:55:18 +02:00
With [fd ](https://github.com/sharkdp/fd ), the exact same invocation is a simple `fd foo` , dead simple, no man page needed.
2024-07-31 06:58:49 +02:00
Of course, 10% of the time I'm doing something else and have to look at the manual even with fd,
2024-04-22 23:55:18 +02:00
but the point is that manuals are for when you want to do something with the tool that is not the most common usecase.
2024-04-17 00:16:49 +02:00
There are many other examples as well. How many of your grep invocations are in the form of `grep -R 'foo' ./` ?
2024-04-22 23:55:18 +02:00
Most of mine are. [Ripgrep ](https://github.com/BurntSushi/ripgrep ) shortens that to `rg foo`
2024-09-05 23:41:22 +02:00
while still having all the power of grep when I need it, and it is faster as well!
2024-04-17 00:16:49 +02:00
2024-07-31 06:58:49 +02:00
This isn't to say that tools should 'dumb themselves down' or hobble themselves to make them easier to use.
2024-04-22 23:55:18 +02:00
However they should keep in mind the most common usecase that their tool is likely to be used in,
and streamline that usecase.
2024-03-05 07:54:51 +01:00
2024-03-09 21:44:41 +01:00
## Shedding historical baggage
2024-03-05 07:54:51 +01:00
2024-04-22 23:55:18 +02:00
Many tools were made for one thing, and over time have evolved into another thing entirely.
This can happen by conscious design or, more commonly,
from an industry or community picking a tool up and using it for something it was not originally designed for.
While hacking tools for uses they were not designed for is always fun and in many cases the only way to do something,
2024-07-17 22:59:41 +02:00
its perhaps better to make a dedicated tool when the design choices made for the old usecases start hindering the new usecases.
A great example of this is [just ](https://github.com/casey/just ), a command runner heavily inspired by GNU make.
Make was (and in large part still is) a C build system.
As such, it includes features such as implicit rules
(if a file called `foo.o` is needed and there is no explicit rule is there, the C compiler will be invoked on the file `foo.c`
(there are similar rules for C++ and linking))
and file modification time laziness
2024-07-30 00:43:15 +02:00
(fantastic for a build system, needs liberal sprinkling of `.PHONY` rules when used as a task runner).
2024-07-17 22:59:41 +02:00
These features are *good* features when make is being used as a build system,
but another major use of make that has emerged has been as a way to run common tasks.
2024-07-31 06:58:49 +02:00
So alongside `make build` to build your program, you would have `make bootstrap` , `make test` , `make config` , etc.
2024-07-17 22:59:41 +02:00
This is where the design decisions behind make the build system start to hinder make the task runner,
making one learn about make the build system in order to work around those features to use make the task runner.
However, make cant drop these features, both because projects still actively use make as a build system,
and because even makefiles that are just used as taskrunners still work around the footguns and
would be broken by make making large changes to its syntax and semantics.
However, Just was designed from the outset to be a command runner, and as a result,
it is much easier to pick up the just language and make a quick set of commands that can be run.
By leaving behind the old tool, a new tool can be made that better fits the tasks that people use the tool for.
2024-03-05 07:54:51 +01:00
2024-08-06 04:43:33 +02:00
## The languages
2024-03-05 07:54:51 +01:00
2024-09-02 20:11:10 +02:00
Another thing I've noticed is that while the language of choice for CLI tools used to be C,
More recent tooling has been dominated by Rust and Go.
2024-03-05 07:54:51 +01:00
2024-08-06 04:43:33 +02:00
Of course, there are exceptions to the pattern.
TeX was written in pascal, Neovim kept C as its primary language,
and there is the occasional new tool written in C or C++.
But there is still a clear pattern in the language choice for newly written tools.
Now, why do you think that pattern has changed?
And have these new languages led to an increase in the number of tools being written?
I think so, and I don't actually think its the languages itself, so much as the libraries surrounding them.
Both Rust and Go have healthy package ecosystems surrounding interaction with the terminal.
2024-08-09 10:56:54 +02:00
Rust has Clap for argument parsing,
crossterm for dealing with ANSI escape codes and other terminal interaction,
and Ratatui for making TUIs.
Go has a similar set of tools, with Cobra for CLI argument parsing,
Viper for config file management integrated with Cobra,
Gocui, tview, and Termui for TUIs,
or Bubbletea for pretty UI components.
2024-08-06 04:43:33 +02:00
These libraries combined with the extra ergonomics offered by the languages themselves,
make the barrier to entry lower,
allowing for more people to experiment with the design and ergonomics of CLI tools.
2024-03-05 07:54:51 +01:00
2024-08-06 04:43:33 +02:00
## Conclusion
2024-03-05 07:54:51 +01:00
2024-08-31 01:01:42 +02:00
> If I have seen further than others, it is by standing on the shoulders of giants.
-- Isaac Newton, 1675
Once again, Id like to state that I am not advocating for shiny new tools *because* they are shiny and new.
Likewise, I dont think the old tools are *bad* , nor does their age alone count against them.
However, new tools have the opportunity to learn from their predecessors and build upon them.
In this way, the new tools are a tribute to those tools that came before;
a recognition of their strengths, an acknowledgement of their weaknesses.
Now, these new tools are not the be-all end-all of the command line interface.
Just because this new generation of tools improve on the old ones,
it does not mean they are themselves perfect.
As we use these tools, we will become familiar with them,
and we will discover their sharp edges,
or their common usecase will change,
or we develop a new usecase entirely.
And when these things happen, we will develop yet another generation of tools,
one further polished and adapted to new usecases.
2024-03-05 07:54:51 +01:00
2024-03-14 19:03:31 +01:00
## Appendix: the tools
2024-07-17 22:59:41 +02:00
This is an extremely unscientific table of command line tools that I have tried, have used, or currently use.
It is assuredly incomplete, but *should* be broadly representative.
The date data has been gathered from the first git commit where available,
wikipedia otherwise, and sorting is by year first, then alphabetical.
2024-03-14 19:03:31 +01:00
|tool|year|language|
|-|-|-|
|ls|1961|c|
|cat|1971|c|
|cd|1971|c|
|cp|1971|c|
|man|1971|c|
|rm|1971|c|
|grep|1973|c|
|diff|1974|c|
|sed|1974|c|
|bc|1975|c|
|make|1976|c|
|vi|1976|c|
2024-04-22 23:55:18 +02:00
|TeX|1978|pascal|
2024-03-15 10:03:36 +01:00
|bourne shell|1979|c|
2024-03-14 19:03:31 +01:00
|awk|1985|c|
|screen|1987|c|
2024-03-15 10:03:36 +01:00
|[bash](https://www.gnu.org/software/bash/)|1989|c|
|[zsh](https://www.zsh.org/)|1990|c|
2024-03-14 19:03:31 +01:00
|[vim](https://www.vim.org/)|1991|c|
|midnight commander|1994|c|
|ssh|1995|c|
2024-03-15 10:03:36 +01:00
|[curl](https://github.com/curl/curl)|1996|c|
2024-04-22 23:55:18 +02:00
|[fish](https://fishshell.com/)|2005|c++ (currently being rewritten in rust)|
2024-03-14 19:03:31 +01:00
|[fossil](https://fossil-scm.org/home/doc/trunk/www/index.wiki)|2006|c|
|[tmux](https://github.com/tmux/tmux)|2007|c|
|[git](https://git-scm.com/)|2008|c|
2024-08-11 01:01:05 +02:00
|[the silver searcher](https://github.com/ggreer/the_silver_searcher)|2011|c|
2024-03-14 19:03:31 +01:00
|[go 1.0](https://go.dev/)|2012|go|
2024-08-11 01:01:05 +02:00
|[jq](https://github.com/jqlang/jq)|2012|c|
2024-03-14 19:03:31 +01:00
|[fzf](https://github.com/junegunn/fzf)|2013|go|
|[eza/exa](https://github.com/eza-community/eza)|2014|rust|
|[neovim](https://neovim.io/)|2015|c|
|[pueue](https://github.com/Nukesor/pueue)|2015|rust|
|[rust 1.0](https://www.rust-lang.org/)|2015|rust|
|[just](https://github.com/casey/just)|2016|rust|
|[micro](https://micro-editor.github.io/)|2016|go|
|[nnn](https://github.com/jarun/nnn)|2016|c|
|[ripgrep](https://github.com/BurntSushi/ripgrep)|2016|rust|
|[fd](https://github.com/sharkdp/fd)|2017|rust|
|[bat](https://github.com/sharkdp/bat)|2018|rust|
|[broot](https://dystroy.org/broot/)|2018|rust|
|[difftastic](https://difftastic.wilfred.me.uk/)|2018|rust|
|[hyperfine](https://github.com/sharkdp/hyperfine)|2018|rust|
|[lazygit](https://github.com/jesseduffield/lazygit)|2018|go|
|[lsd](https://github.com/lsd-rs/lsd)|2018|rust|
|[nushell](https://www.nushell.sh/)|2018|rust|
|[scc](https://github.com/boyter/scc)|2018|go|
|[sd](https://github.com/chmln/sd)|2018|rust|
2024-08-11 01:01:05 +02:00
|[bottom](https://github.com/ClementTsang/bottom)|2019|rust|
2024-03-14 19:03:31 +01:00
|[git-delta](https://github.com/dandavison/delta)|2019|rust|
|[grex](https://github.com/pemistahl/grex)|2019|rust|
|[starship](https://starship.rs/)|2019|rust|
|[tre](https://github.com/dduan/tre)|2019|rust|
|[typst](https://typst.app/)|2019|rust|
|[diskonaut](https://github.com/imsnif/diskonaut)|2020|rust|
2024-08-11 01:01:05 +02:00
|[duf](https://github.com/muesli/duf)|2020|go|
2024-03-14 19:03:31 +01:00
|[helix](https://helix-editor.com/)|2020|rust|
|[pijul](https://pijul.org/)|2020|rust|
|[zellij](https://zellij.dev/)|2020|rust|
|[zoxide](https://github.com/ajeetdsouza/zoxide)|2020|rust|
|[btop](https://github.com/aristocratos/btop)|2021|c++|
|[ast-grep](https://github.com/ast-grep/ast-grep)|2022|rust|
|[yazi](https://github.com/sxyazi/yazi)|2024|rust|