Skip to content

Commit

Permalink
updated english install documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
mkarten committed May 14, 2024
1 parent 187e9f3 commit 35bac41
Showing 1 changed file with 17 additions and 5 deletions.
22 changes: 17 additions & 5 deletions INSTALL.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,20 @@
# How to install Ecla

## Install Requirements
## Download a release

Install Go 1.19 or later.
You can download the Ecla interpreter as a prebuilt standalone binary for your system from the latest release in https://github.com/Eclalang/Ecla/releases

Rename the executable file to `ecla` or `ecla.exe` depending on your os, and add the file path to your PATH.

Restart your terminal to apply the changes.

## Build from sources

Alternatively you can build the Ecla interpreter from the sources

### Install Requirements

Install Go 1.21.1 or later.

### Windows:

Expand All @@ -16,8 +28,8 @@ Install Go 1.19 or later.
- Use the following command to install Go:

```bash
wget https://dl.google.com/go/go1.19.linux-amd64.tar.gz
sudo tar -xvf go1.19.linux-amd64.tar.gz
wget https://dl.google.com/go/go1.21.1.linux-amd64.tar.gz
sudo tar -xvf go1.21.1.linux-amd64.tar.gz
sudo mv go /usr/local
```

Expand All @@ -31,7 +43,7 @@ export PATH=$GOPATH/bin:$GOROOT/bin:$PATH

- Save and close the file. Then, reload your terminal and type "go version". This should display the version of Go you just installed.

## Build the Ecla Interpreter
### Build the Ecla Interpreter

- Clone the repository:

Expand Down

0 comments on commit 35bac41

Please sign in to comment.