summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authortheimpostor <sahirhoda@gmail.com>2024-11-21 08:09:40 -0600
committertheimpostor <sahirhoda@gmail.com>2024-11-21 08:09:40 -0600
commit3ec28f27229b6b0625f970b576c1d5f97ad22bce (patch)
tree1a662ec9512dfcfb35eae3e862dda8299312da8a /README.md
parent983bdc94ecfb24c8e86acf61b9757891ddcb7b4b (diff)
Enhance installation instructions in README
Diffstat (limited to 'README.md')
-rw-r--r--README.md18
1 files changed, 15 insertions, 3 deletions
diff --git a/README.md b/README.md
index 2dd81d8..574b7af 100644
--- a/README.md
+++ b/README.md
@@ -7,21 +7,21 @@ System clipboard access includes writing (i.e. copy) and reading (i.e. paste), e
#### Copying to the clipboard
-```
+```bash
❯ echo -n asdf | osc copy
# String 'asdf' copied to clipboard
```
#### Pasting from the clipboard
-```
+```bash
❯ osc paste
asdf
```
#### Clearing the clipboard
-```
+```bash
❯ osc copy /dev/null
# Clipboard cleared
```
@@ -83,7 +83,19 @@ Terminal Multiplexer | Copy | Paste | Notes
## Installation
+### Installing a Binary
+
+[Download the latest binary](https://github.com/theimpostor/osc/releases) from GitHub.
+
+osc is a stand-alone binary. Once downloaded, copy it to a location you can run executables from (ie: `/usr/local/bin/`), and set the permissions accordingly:
+
+```bash
+chmod a+x /usr/local/bin/osc
```
+
+### Installing from Source
+
+```bash
go install -v github.com/theimpostor/osc@latest
```