I'v just installed tldr with npm install -g tldr.
But seems like the syntax highlight didn't work like the screenshot on the readme page.
Providing some more information might be helpful
The screenshot uses a custom theme. By default we do not add any coloring because there are large varieties of terminals and themes. So adding any text coloring from itself might clash with the terminal theme.
Please look into this section - https://github.com/tldr-pages/tldr-node-client#configuration if you want to use a preset theme or even you can create your own theme.
@agnivade Problem solved ! Thank you so much!!
Maybe it's a good idea to put a default .tldrrc to the home directory at installation.
That won't make a difference really. You still have to edit the .tldrrc file.
I am a fan of softwares that just work out of the box without any need for configurations or customizations. Only if needed, the user should be able to configure it appropriately.
Most helpful comment
The screenshot uses a custom theme. By default we do not add any coloring because there are large varieties of terminals and themes. So adding any text coloring from itself might clash with the terminal theme.
Please look into this section - https://github.com/tldr-pages/tldr-node-client#configuration if you want to use a preset theme or even you can create your own theme.