From: Zachary Yedidia Date: Wed, 18 Aug 2021 20:13:17 +0000 (-0400) Subject: Add eget to install instructions X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=272f3adcc499bc24fbc112da580b0a4a23ba1677;p=micro.git Add eget to install instructions --- diff --git a/README.md b/README.md index e6b48d5c..ebb8caa2 100644 --- a/README.md +++ b/README.md @@ -81,17 +81,13 @@ stable version if you install from the prebuilt binaries, Homebrew, or Snap. A desktop entry file and man page can be found in the [assets/packaging](https://github.com/zyedidia/micro/tree/master/assets/packaging) directory. -### Prebuilt binaries +### Pre-built binaries -All you need to install micro is one file, the binary itself. It's as simple as that! +Pre-built binaries are distributed with [releases](https://github.com/zyedidia/micro/releases). -Download the binary from the [releases](https://github.com/zyedidia/micro/releases) page. - -### Installation script - -There is a script which can install micro for you by downloading the latest prebuilt binary. You can find it at . +To uninstall micro, simply remove the binary, and the configuration directory at `~/.config/micro`. -You can easily install micro by running +#### Quick-install script ```bash curl https://getmic.ro | bash @@ -99,7 +95,22 @@ curl https://getmic.ro | bash The script will place the micro binary in the current directory. From there, you can move it to a directory on your path of your choosing (e.g. `sudo mv micro /usr/bin`). See its [GitHub repository](https://github.com/benweissmann/getmic.ro) for more information. -To uninstall micro, simply remove the binary, and the configuration directory at `~/.config/micro`. +#### Eget + +With [Eget](https://github.com/zyedidia/eget) installed, you can easily get a pre-built binary: + +``` +eget zyedidia/micro +``` + +Use `--tag VERSION` to download a specific tagged version. + +``` +eget --tag nightly zyedidia/micro # download the nightly version (compiled every day at 8pm ET) +eget --tag v2.0.8 zyedidia/micro # download version 2.0.8 rather than the latest release +``` + +See [Eget](https://github.com/zyedidia/eget) for more information. ### Package managers