DEV Community

Simon Nyström
Simon Nyström

Posted on • Originally published at newcurrent.se

1

tldr: Remember your commands

What is tldr?

tldr is an open-source command line tool distributed both via npm and pip3 that lets you easily look up common use cases for various commands.

Have you ever been in the position where you:

  • Forgot how to use the tar command?
  • Forgot how to open an ssh tunnel?
  • Forgot how git rebase works?
  • Forgot how to in the terminal?

Well, I have. tldr lets you easily look up common uses cases for commands and subcommands. All the tldr pages are open-source and community driven, and if a command you are trying to use tldr for is not available, you can always add it yourself to help out both yourself and others.


How do I install it?

To get your hands on tldr, all you have to do is install it in one of the following ways:

  • npm install -g tldr
  • pip3 install tldr

After that, provided the package location is in your path, all you need to do is run tldr git rebase for example.

Here's an example of what that might look like:

tldr_img


More information

If you have further interest in this, please visit https://tldr.sh/

Reinvent your career. Join DEV.

It takes one minute and is necessary in the AI era.

Get started

Top comments (0)

Image of Datadog

The Essential Toolkit for Front-end Developers

Take a user-centric approach to front-end monitoring that evolves alongside increasingly complex frameworks and single-page applications.

Get The Kit

👋 Kindness is contagious

Explore a sea of insights with this enlightening post, highly esteemed within the nurturing DEV Community. Coders of all stripes are invited to participate and contribute to our shared knowledge.

Expressing gratitude with a simple "thank you" can make a big impact. Leave your thanks in the comments!

On DEV, exchanging ideas smooths our way and strengthens our community bonds. Found this useful? A quick note of thanks to the author can mean a lot.

Okay