Merge pull request #398 from bradyjoslin/patch-1

Add macOS manual installation instructions
This commit is contained in:
Federico Terzi 2020-08-07 21:16:10 +02:00 committed by GitHub
commit 17aae12db5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.
At this point, you are ready to read the [Getting Started](/docs/get-started/) tutorial.