diff --git a/README.md b/README.md index 5fa68962..5f83bd6d 100644 --- a/README.md +++ b/README.md @@ -52,19 +52,19 @@ 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 @@ -72,6 +72,26 @@ 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.