@@ -72,29 +72,51 @@ nuru -v
72
72
```
73
73
74
74
75
+
76
+
75
77
### Android (Termux)
76
78
77
- - Make sure you have [Termux](https://f-droid.org/repo/com.termux_118.apk) installed.
78
- - Download the binary with this command:
79
+ To install Nuru on your Android device using Termux, follow these steps:
79
80
80
- ```
81
- curl -O -L https://github.com/AvicennaJr/Nuru/releases/download/v0.5.16/nuru_Android_arm64.tar.gz
82
- ```
83
- - Extract the file:
81
+ 1. **Ensure Termux is installed**:
82
+ - You can download and install [Termux](https://f-droid.org/en/packages/com.termux/).
84
83
85
- ```
86
- tar -xzvf nuru_Android_arm64.tar.gz
87
- ```
88
- - Add it to path:
84
+ 2. **Create the target directory**:
85
+ ```bash
86
+ mkdir -p /data/data/com.termux/files/usr/share/nuru
87
+ ```
89
88
90
- ```
91
- echo "alias nuru='~/nuru'" >> .bashrc
92
- ```
93
- - Confirm installation with:
89
+ 3. **Download the Nuru package**:
90
+ ```bash
91
+ curl -O -L https://github.com/NuruProgramming/Nuru/releases/download/v0.5.16/nuru_Android_arm64.tar.gz
92
+ ```
94
93
94
+ 4. **Extract the files to the target directory**:
95
+ ```bash
96
+ tar -xzvf nuru_Android_arm64.tar.gz -C /data/data/com.termux/files/usr/share/nuru
97
+ ```
98
+
99
+ 5. **Set up an alias for easy access**:
100
+ ```bash
101
+ echo "alias nuru='/data/data/com.termux/files/usr/share/nuru/nuru'" >> ~/.bashrc
102
+ ```
103
+
104
+ 6. **Reload the .bashrc file to apply the alias**:
105
+ ```bash
106
+ source ~/.bashrc
107
+ ```
108
+
109
+ 7. **Verify the installation**:
110
+ ```bash
111
+ nuru -v
112
+ ```
113
+
114
+ For a more streamlined installation, you can use the following one-liner:
115
+
116
+ ```bash
117
+ curl -O -L https://github.com/AvicennaJr/Nuru/releases/download/v0.5.16/nuru_Android_arm64.tar.gz && mkdir -p /data/data/com.termux/files/usr/share/nuru && tar -xzvf nuru_Android_arm64.tar.gz -C /data/data/com.termux/files/usr/share/nuru && echo "alias nuru='/data/data/com.termux/files/usr/share/nuru/nuru'" >> ~/.bashrc && source ~/.bashrc && echo "Installation complete.."
95
118
```
96
- nuru -v
97
- ```
119
+
98
120
99
121
### Windows
100
122
0 commit comments