4
4
5
5
A command line client for tldr, written in plain ISO C90.
6
6
7
-
8
7
## Installing
9
8
10
9
On OS X, the client can be installed through [ Homebrew] ( http://brew.sh/ ) .
11
10
12
11
``` shell
13
- # To install latest development version
12
+ # To install the latest development version
14
13
brew install tldr --HEAD
15
14
16
15
# To install the latest stable release
@@ -23,15 +22,21 @@ On Arch Linux, the client can be installed through [the AUR](https://aur.archlin
23
22
yay -S tldr-git
24
23
```
25
24
26
- To build the latest version from source:
25
+ To build the latest version from the source:
27
26
28
27
``` shell
29
28
git clone https://github.com/tldr-pages/tldr-c-client.git
30
29
cd tldr-c-client
31
30
32
- ./deps.sh # install dependencies
31
+ sudo ./deps.sh # install dependencies
33
32
make # build tldr
34
- make install # install tldr
33
+ sudo make install # install tldr
34
+ ```
35
+
36
+ To remove the version installed from the source:
37
+
38
+ ``` shell
39
+ sudo make uninstall
35
40
```
36
41
37
42
The default prefix for installation is ` /usr/local/bin ` .
@@ -51,7 +56,7 @@ Building the `tldr` client is pretty straightforward.
51
56
#### Compiling
52
57
53
58
The [ ` Makefile ` ] ( https://github.com/tldr-pages/tldr-c-client/blob/master/Makefile )
54
- in the root directory has all you need for builing the project.
59
+ in the root directory has all you need for building the project.
55
60
56
61
Just call ` make ` and ` tldr ` will build itself.
57
62
@@ -71,7 +76,7 @@ folder in the root of the repository.
71
76
#### Installation
72
77
73
78
To install the autocompletion, just move the script for your shell to an easy
74
- to access directory (like your home directory), and source it in your ` .bashrc ` or ` .zshrc ` .
79
+ to access the directory (like your home directory), and source it in your ` .bashrc ` or ` .zshrc ` .
75
80
76
81
Example for zsh:
77
82
@@ -104,7 +109,6 @@ To prevent `tldr` from automatically updating its database, set the environment
104
109
105
110
Please read the [ CONTRIBUTING.md] ( https://github.com/tldr-pages/tldr-c-client/blob/master/CONTRIBUTING.md ) for details.
106
111
107
-
108
112
## License
109
113
110
114
The MIT License (MIT) - see [ LICENSE] ( https://github.com/tldr-pages/tldr-c-client/blob/master/LICENSE ) for details.
0 commit comments