diff --git a/README.md b/README.md index 1a5e6310..abb19dd8 100644 --- a/README.md +++ b/README.md @@ -34,16 +34,37 @@ Here is a picture of micro editing its source code. # Installation -### Homebrew +Micro is devel-only for now because there is no released version. -If you are on Mac, you can install micro using Homebrew: +### OSX -``` +If you are on OSX, you can install micro using Homebrew: + +```sh brew tap zyedidia/micro brew install --devel micro ``` -Micro is devel-only for now because there is no released version. +### Arch Linux + +If you are on Arch Linux, you can install micro using the AUR: + +```sh +wget https://aur.archlinux.org/cgit/aur.git/snapshot/micro-git.tar.gz +cd micro-git +makepkg -si +``` + +### CRUX + +If you are on CRUX, you can install micro using the 6c37-git repo: + +```sh +git clone https://github.com/6c37/crux-ports-git +cd crux-ports-git/micro +# make sure you have go installed! +pkgmk -i +``` ### Prebuilt binaries @@ -71,7 +92,7 @@ Make sure that you have Go version 1.4 or greater. You can simply `go get` it. -``` +```sh go get -u github.com/zyedidia/micro/cmd/micro ``` @@ -79,7 +100,7 @@ go get -u github.com/zyedidia/micro/cmd/micro On Linux, clipboard support requires 'xclip' or 'xsel' command to be installed. For Ubuntu: -``` +```sh $ sudo apt-get install xclip ``` @@ -91,8 +112,8 @@ Once you have built the editor, simply start it by running `micro path/to/file.t Micro also supports creating buffers from `stdin`: -``` -$ ifconfig | micro +```sh +ifconfig | micro ``` You can move the cursor around with the arrow keys and mouse.