Skip to content

Commit

Permalink
fix docs installation
Browse files Browse the repository at this point in the history
  • Loading branch information
Evgeny Metelkin committed Feb 29, 2024
1 parent d5a30c5 commit 1b60157
Showing 1 changed file with 23 additions and 3 deletions.
26 changes: 23 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,26 +52,46 @@ Metelkin, E., (2021). Heta compiler: a software tool for the development of larg

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

### Installation in Linux and Macos
### Installation in Linux

For all users (requires sudo previleges)

```bash
# replace [Required version] by value, i.e. 0.8.1
# replace [Required version] by value, i.e. v0.8.1
sudo wget -O /usr/local/bin/heta https://github.com/hetalang/heta-compiler/releases/download/[Required version]/heta-compiler-linux-x64 && sudo chmod +x /usr/local/bin/heta
```

For single user without sudo previleges

```bash
# replace [Required version] by value, i.e. 0.8.1
# replace [Required version] by value, i.e. v0.8.1
mkdir -p ~/bin
wget -O ~/bin/heta https://github.com/hetalang/heta-compiler/releases/download/[Required version]/heta-compiler-linux-x64
chmod +x ~/bin/heta
echo "export PATH=$PATH:~/bin" >> ~/.bashrc
source ~/.bashrc
```

### Installation in Macos

For all users (requires sudo previleges)

```bash
# replace [Required version] by value, i.e. v0.8.1
sudo wget -O /usr/local/bin/heta https://github.com/hetalang/heta-compiler/releases/download/[Required version]/heta-compiler-macos-x64 && sudo chmod +x /usr/local/bin/heta
```

For single user without sudo previleges

```bash
# replace [Required version] by value, i.e. v0.8.1
mkdir -p ~/bin
wget -O ~/bin/heta https://github.com/hetalang/heta-compiler/releases/download/[Required version]/heta-compiler-macos-x64
chmod +x ~/bin/heta
echo "export PATH=$PATH:~/bin" >> ~/.bashrc
source ~/.bashrc
```

### Installation in NodeJS environment

[NodeJS](https://nodejs.org/en/) must be installed prior to Heta compiler installation. Currently the recommended version is **NodeJS v16 and newer**, but NodeJS v14 is also supported.
Expand Down

0 comments on commit 1b60157

Please sign in to comment.