From a8a3496ab759c00462d1e3923a18142ce9c8eba5 Mon Sep 17 00:00:00 2001 From: Brady Joslin Date: Fri, 7 Aug 2020 00:00:59 -0500 Subject: [PATCH] Update mac.md --- install/mac.md | 37 ++++++++++++++++++++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) diff --git a/install/mac.md b/install/mac.md index 9051ae5..4a2661a 100644 --- a/install/mac.md +++ b/install/mac.md @@ -28,6 +28,41 @@ espanso --version At this point, you have to [Enable Accessibility](#enabling-accessibility) to use espanso. +### Manually + +Download `espanso-mac.tar.gz` from the [Releases page](https://github.com/federico-terzi/espanso/releases): + +``` +curl -sOL https://github.com/federico-terzi/espanso/releases/latest/download/espanso-mac.tar.gz +``` + +Extract the binary: + +``` +tar -xzf espanso-mac.tar.gz +``` + +Create a folder to house the binary: + +``` +sudo mkdir -p /usr/local/espanso/bin +sudo cp espanso /usr/local/espanso/bin/espanso +``` + +Create a symbolic link in your `/usr/local/bin` folder: + +``` +sudo ln -s /usr/local/espanso/bin/espanso /usr/local/bin +``` + +To make sure that espanso was correctly installed, you can open a terminal and type: + +``` +espanso --version +``` + +At this point, you have to [Enable Accessibility](#enabling-accessibility) to use espanso. + ### Enabling Accessibility Because espanso uses the macOS [Accessibility API](https://developer.apple.com/library/archive/documentation/Accessibility/Conceptual/AccessibilityMacOSX/) @@ -60,4 +95,4 @@ If everything goes well, you should see the espanso icon appear in the status ba If you now type `:espanso` in any text field, you should see "Hi there!" appear! -At this point, you are ready to read the [Getting Started](/docs/get-started/) tutorial. \ No newline at end of file +At this point, you are ready to read the [Getting Started](/docs/get-started/) tutorial.