From bafadc092b88f3fcc787d7c4e7e06e9f848f976d Mon Sep 17 00:00:00 2001 From: Adam Perkowski Date: Thu, 12 Dec 2024 08:40:06 +0100 Subject: [PATCH] docs(README): add Arch Linux installation instructions (#40) --- README.md | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 38358e1..c7166d8 100644 --- a/README.md +++ b/README.md @@ -42,18 +42,37 @@ Generally, you can directly use CLI tool provide by CodeSnap to generate code sn CodeSnap provide two ways to use it, you can use it as a CLI tool or as a library in your own project. ### CLI -For CLI tool, you can install it via `cargo`: +For CLI tool, you can install it for different platforms: + +
+Arch Linux + +[codesnap](https://aur.archlinux.org/packages/codesnap) is available on [AUR](https://aur.archlinux.org), you can install it using your preferred AUR helper. Example: + +```bash +paru -S codesnap +``` + +
+ +
+Cargo -**Cargo** ```bash cargo install codesnap-cli ``` -**Homebrew** +
+ +
+Homebrew + ```bash brew install mistricky/tap/CodeSnap ``` +
+ Use `codesnap` command to generate code snapshot: ```bash