Skip to content

Commit 7e29dfa

Browse files
authored
add: installation method using brew
1 parent b3a460b commit 7e29dfa

1 file changed

Lines changed: 25 additions & 3 deletions

File tree

README.md

Lines changed: 25 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,12 @@ This project is made with following langs/frameworks.
9292

9393
### Installation
9494

95-
_To install and configure the project on your system locally:_
95+
_To install and configure the project on your system locally, use suitable method:_
96+
97+
- [Using curl](#install-using-curl)
98+
- [Using brew](#install-using-brew)
99+
100+
#### Install using CURL
96101

97102
1. Copy and run the following command to install the run binary on your system.
98103

@@ -107,16 +112,33 @@ _To install and configure the project on your system locally:_
107112
```sh
108113
run ~/path/to/my_code.c
109114
```
110-
115+
116+
#### Install using BREW
117+
118+
```bash
119+
brew tap proffapt/brewtap
120+
brew install code-runner
121+
```
122+
111123
<p align="right">(<a href="#top">back to top</a>)</p>
112124

113125
### Uninstallation
114126

115-
_To uninstall the tool from your system execute the following command_
127+
_To uninstall the tool from your system execute the following command, depending upon your installation_
128+
129+
- [Using curl](#uninstall-using-curl)
130+
- [Using brew](#uninstall-using-brew)
131+
132+
#### Uninstall using CURL
116133

117134
```sh
118135
curl https://raw.githubusercontent.com/proffapt/code-runner/main/uninstall.sh | bash
119136
```
137+
138+
#### Uninstall using BREW
139+
```bash
140+
brew uninstall code-runner
141+
```
120142

121143
<p align="right">(<a href="#top">back to top</a>)</p>
122144

0 commit comments

Comments
 (0)