mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-28 20:11:19 +08:00
README.md: categorize client installation instructions under subheadings (#20998)
This commit is contained in:
@@ -63,26 +63,37 @@ SunOS, Android, Windows, Cisco IOS, and DOS command-line tools.
|
||||
> For browsing without installing a client on your computer,
|
||||
> see the web client at <https://tldr.inbrowser.app> (with offline support using PWA).
|
||||
|
||||
A popular and convenient way to access these pages on your computer
|
||||
is to install the official [Python client](https://github.com/tldr-pages/tldr-python-client), which can be installed from [PyPI](https://pypi.org/project/tldr/) via [pipx](https://github.com/pypa/pipx) (or [other package managers](https://github.com/tldr-pages/tldr-python-client#installation)):
|
||||
There are several official clients avaiable.
|
||||
|
||||
### Python client
|
||||
|
||||
The official [Python client](https://github.com/tldr-pages/tldr-python-client) can be installed from [PyPI](https://pypi.org/project/tldr/) via [pipx](https://github.com/pypa/pipx) (or [other package managers](https://github.com/tldr-pages/tldr-python-client#installation)):
|
||||
|
||||
```shell
|
||||
pipx install tldr
|
||||
```
|
||||
|
||||
Linux and Mac users can also install the official [Rust Client](https://github.com/tldr-pages/tlrc) using [Homebrew](https://formulae.brew.sh/formula/tlrc)
|
||||
### Rust client
|
||||
|
||||
Linux and Mac users can also install the official [Rust Client](https://github.com/tldr-pages/tlrc) using [Homebrew](https://formulae.brew.sh/formula/tlrc), [Cargo](https://crates.io/crates/tlrc)
|
||||
(or [other package managers](https://github.com/tldr-pages/tlrc#installation) on other operating systems):
|
||||
|
||||
```shell
|
||||
brew install tlrc
|
||||
```
|
||||
|
||||
```shell
|
||||
cargo install tlrc --locked
|
||||
```
|
||||
|
||||
Windows users can also install the official [Rust Client](https://github.com/tldr-pages/tlrc) using [Winget](https://github.com/microsoft/winget-pkgs/tree/master/manifests/t/tldr-pages/tlrc) (or [other package managers](https://github.com/tldr-pages/tlrc#installation) on other operating systems):
|
||||
|
||||
```shell
|
||||
winget install tldr-pages.tlrc
|
||||
```
|
||||
|
||||
### Node.js client
|
||||
|
||||
Alternatively, you can also use the official [Node.js client](https://github.com/tldr-pages/tldr-node-client), although it has fallen behind in updates:
|
||||
|
||||
```shell
|
||||
|
||||
Reference in New Issue
Block a user