Skip to content

Commit

Permalink
install uninstall description in sh
Browse files Browse the repository at this point in the history
  • Loading branch information
metelkin committed Dec 18, 2024
1 parent fc16b3c commit 161d2b7
Showing 1 changed file with 25 additions and 5 deletions.
30 changes: 25 additions & 5 deletions index.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Metelkin, E., (2021). Heta compiler: a software tool for the development of larg

### Installation in Windows

[Download -win-x64-installer.msi from release page](https://github.com/hetalang/heta-compiler/releases/latest) and install.
[Download -win-x64-installer.msi from release page](https://github.com/hetalang/heta-compiler/releases/latest) and install or update.

### Installation in Ubuntu/Debian Linux

Expand All @@ -61,12 +61,17 @@ sudo dpkg -r heta-compiler

### Installation in other Linux systems

For all users (requires sudo previleges)
Install/Update for all users (requires sudo previleges)
```bash
sudo wget -O /usr/local/bin/heta https://github.com/hetalang/heta-compiler/releases/latest/download/heta-compiler-linux-x64 && sudo chmod +x /usr/local/bin/heta
```

For single user without sudo previleges
Uninstall for all users
```bash
sudo rm /usr/local/bin/heta
```

Install/Update for single user without sudo previleges
```bash
mkdir -p ~/bin
wget -O ~/bin/heta https://github.com/hetalang/heta-compiler/releases/latest/download/heta-compiler-linux-x64
Expand All @@ -75,6 +80,11 @@ echo "export PATH=$PATH:~/bin" >> ~/.bashrc
source ~/.bashrc
```

Uninstall for single user
```bash
rm ~/bin/heta
```

### Installation with Homebrew in MacOS

If you have [Homebrew installed](https://brew.sh/), you can install Heta compiler using the following commands:
Expand All @@ -96,12 +106,17 @@ brew uninstall heta-compiler

### Installation in Macos

For all users (requires sudo previleges)
Install/Update for all users (requires sudo previleges)
```bash
sudo wget -O /usr/local/bin/heta https://github.com/hetalang/heta-compiler/releases/latest/download/heta-compiler-macos-x64 && sudo chmod +x /usr/local/bin/heta
```

For single user without sudo previleges
Uninstall for all users
```bash
sudo rm /usr/local/bin/heta
```

Install/Update for single user without sudo previleges
```bash
mkdir -p ~/bin
wget -O ~/bin/heta https://github.com/hetalang/heta-compiler/releases/latest/download/heta-compiler-macos-x64
Expand All @@ -110,6 +125,11 @@ echo "export PATH=$PATH:~/bin" >> ~/.bashrc
source ~/.bashrc
```

Uninstall for single user
```bash
rm ~/bin/heta
```

Troubleshooting:

In some cases you may need to install Rosetta to run the tool on MacOS. To install Rosetta, run the following command in the terminal:
Expand Down

0 comments on commit 161d2b7

Please sign in to comment.