

You might be able to make the argument that nix run is similar to nix-shell -p ripgrep -run 'ripgrep', but this is somewhat of a stretch. nix run with no arugments will run the command defined in faultApp.nix develop with no arguments will load the shell defined in vShell.

nix build with no arguments will try to build the faultPackage.For instance, if there is a flake.nix in the current directory, then: Nix build, nix develop, and nix run have special support for flakes. Put the resulting binary in a result/ symlink Start a new shell that has the dependencies required for building ripgrep available (like gcc and rustc)īuild ripgrep completely within Nix. Syntax highlighting themes are configurable.Start a new shell that has ripgrep available It can also be combined with many other commands and tools like tail, man, and git, among others, to add syntax highlighting to outputs. bat can also be used as a previewer for fzf. It can be used as a drop-in replacement for cat even in scripts. By default, bat behaves similarly to less by paging large output, but that can be disabled to make it work precisely like cat. I have aliased cat to bat immediately after trying it for the first time. It provides features like syntax highlight, line numbers, Git change highlight, shows special chars, paging, and so on. It’s a replacement for cat, and once you have used bat, you will never go back. Starship is blazing fast with more features and an excellent UX.īat is one of my favorite tools from this list. I used Oh My Zsh for many years with the powerlevel10k theme, but the prompt was a bit slow. Starship works best with a Nerd Font as it can show icons and ligatures based on context. Starship works on shells like zsh, fish, and bash and can also work alongside other prompts like Oh My Zsh, in case you still want to use Oh My Zsh for other plugins like autosuggestions and so on. I didn’t even change most of the default settings, as things were perfect as it is. Starship is fast, highly customizable, and has a great default theme and settings. Starship is the best terminal prompt I have ever used. Thanks to Fran Sancisco for the suggestion. It is a great terminal, but I prefer open source software. There is also the Warp terminal, but it is not open source. You could also use Zellij, a modern terminal multiplexer written in Rust, with Alacritty. There is an excellent tutorial on using Alacritty with tmux. I use Alacrity when I need speed and GPU acceleration. We can get most of those features (tabs, split panes, dropdown mode) using tmux and tdrop if really needed.

I don’t use it as my primary terminal as I love Yakuake too much for all its cool features. It doesn’t have much in terms of a UI, and hence all configurations are done through YAML files. You can use it on Linux, macOS, and Windows. It is GPU accelerated, super fast, and highly configurable. Alacritty is a cross-platform modern terminal emulator with sensible defaults.
#Ripgrep command not found install
If you have Cargo, the rust package manager, you can install all these using Cargo. I recommend aliasing the commands to replace the standard commands based on your preferences.

I have not tested them on Windows, but most should also work on Windows. These tools are available for both Linux and macOS. You can also use these to supercharge your terminal. In this post, I will cover some of the best Rust command line tools I have used for a while. They are faster, more user-friendly, and have more features than their standard Unix counterparts. Recently there has been a surge of command line tools and utilities written in Rust, and many of them are intended to replace standard Unix commands. It is used to build everything from operating systems to web servers to command-line tools. It is the fastest-growing and most loved programming language in the world. Rust is a general-purpose programming language that is blazing fast and memory safe.
