7 command line tools to make your life easier

The command line is one of the most powerful developer tools. The command line allows any developer to quickly complete many tasks. There is no limit to the number of things an experienced developer can do using just the command line.

To make your command line experience even easier, we’ve created a list of seven command line tools that you can use. You should really try them out as each of these tools are useful in their own way.

1. Enhancd

One of the most commonly used commands in the terminal is the cd command. However, this command is pretty straightforward as it lacks tools to help you. In addition, you must provide the fully qualified directory name for this command to work. You cannot provide a portion of the directory because that just won’t work.

Rescue help! Enhancd will remember all directories visited by the user and will use them to resolve paths. If the enhancd log lists multiple directory paths with the same name, this will provide the user with an easy way to select the correct directory.

2. The Fuck

Yes, you read that right … And no, it is not we who are fighting. Hell, this is a great tool for fixing bugs in previous console commands. We all confuse the commands we recruit from time to time. Maybe even a little more often.

So whenever you make a mistake with a command, you enter the fuck command. This package gives you the suggested option, which you can then execute.

Let’s say gti branch, we enter text with a git error. You will see a message similar to No command ‘gti’ found. Instead of typing the whole command again, you just type fuck. This will tell you if you want git branch to execute instead. All you have to do is hit Enter and your command will be executed.

3. Git Stats

The Git Stats tool allows you to display all of your statistics when it comes to the number of commits you have made in a given period of time. You can also get statistics on all contributions by each author to the repository.

Don’t worry, you don’t have to start your git commit calendar from scratch as there is also a Git statistics import package available.

4. Autojump

Autojump allows you to navigate the file system faster. It keeps track of the directories you most often use from the command line and stores this information in a database. This is why the directories must first be visited before they can be accessed.

You can use autojump by typing autojump, which is quite long, but you can also use its alias j.

j image is moved to the directory containing images, eg. Autojump has many more options for navigating the file system.

5. Bat

Bat is essentially a clone of the cat command with syntax highlighting and Git integration. Bat supports syntax highlighting for a wide variety of programming and markup languages.

If you don’t like the way syntax highlighting looks, you can use one of the other available syntax highlighting themes. You also have the option to add your own theme if you don’t like any of the default themes.

6. Oh my ZSH

Oh my ZSH takes your terminal to the next level. Once installed, you can use hundreds of powerful plugins and beautiful themes with every keystroke on the command line.

Oh my ZSH is completely customizable, so if you are missing a plugin, you can add it manually. The same applies if you don’t like a particular plugin. You also have the option to uninstall the plugin.

Since there are too many features in Oh my ZSH, we strongly recommend that you check it out for yourself.

7. Fony

Fony is a simple command line tool that generates dummy JSON data from a provided template. The application uses Chance.js. This means that any datatype supported by Chance.js is also supported by fony.

Fony aims to provide a simple solution to the most common data generation needs. The best part about fony is that you can use the command line to pipe the output to other tools and integrate it into your workflow.