Debian Codegraph @

docs/installation.rst

raw
1 Installation
2 ============
3
4 Packages and installation files are available at `Releases page <https://github.com/hluk/CopyQ/releases>`__.
5
6 Alternatively, you can install the app with one of the following methods:
7
8 On **Windows**, you can install `Chocolatey package <https://chocolatey.org/packages/copyq>`__.
9
10 On **macOS** (13 and above), you can use `Homebrew <https://brew.sh/>`__ to install the app
11 (also see the problem in the next section):
12
13 .. code-block:: bash
14
15 brew install --cask copyq
16
17 On **macOS**, if you encounter an issue where the app crashes with a dialog
18 saying "CopyQ is damaged" or "CopyQ cannot be opened", you may need to run the
19 following commands (for details, see `issue #2652
20 <https://github.com/hluk/CopyQ/issues/2652>`__):
21
22 .. code-block:: bash
23
24 xattr -d com.apple.quarantine /Applications/CopyQ.app
25 codesign --force --deep --sign - /Applications/CopyQ.app
26
27 On **macOS**, after Homebrew installation, the ``copyq`` CLI command is not
28 available by default. To enable CLI access, create a symlink manually:
29
30 .. code-block:: bash
31
32 sudo ln -sf /Applications/CopyQ.app/Contents/MacOS/CopyQ /usr/local/bin/copyq
33
34 After this, you can use the CLI:
35
36 .. code-block:: bash
37
38 copyq --version
39 copyq clipboard
40 copyq size
41
42 On **Debian** and **Ubuntu+** install a stable version from official
43 repositories:
44
45 .. code-block:: bash
46
47 sudo apt install copyq
48 # copyq-plugins and copyq-doc is split out and can be installed independently
49
50 On **Fedora**, install "copyq" package:
51
52 .. code-block:: bash
53
54 sudo dnf install copyq
55
56 On other Linux distributions, you can download the **AppImage** from the
57 `Releases page <https://github.com/hluk/CopyQ/releases>`__:
58
59 .. code-block:: bash
60
61 chmod +x CopyQ-*.AppImage
62 ./CopyQ-*.AppImage
63
64 Alternatively, you can use `Flatpak <https://flatpak.org/>`__ to install
65 `CopyQ from Flathub <https://flathub.org/apps/com.github.hluk.copyq>`__.
66 See `Flathub Setup <https://flathub.org/setup>`__ for initial Flatpak/Flathub
67 configuration.
68
69 To start CopyQ from the command line:
70
71 .. code-block:: bash
72
73 flatpak run com.github.hluk.copyq