### Install pa-cli using Makefile Source: https://github.com/tonidy/pa-cli/blob/main/README.md Provides commands to install the pa-cli application using a Makefile, either system-wide to /usr/local/bin or user-specific to ~/.local/bin. ```bash sudo make install # Install to /usr/local/bin make install-user # Install to ~/.local/bin ``` -------------------------------- ### Install fzf for Fuzzy Search Functionality Source: https://github.com/tonidy/pa-cli/blob/main/README.md This snippet shows the `brew` command to install `fzf`, a command-line fuzzy finder. Installing `fzf` enables interactive fuzzy searching and selection of passwords within `pa-cli` using commands like `pa find show`, `pa find edit`, and `pa find del`. ```bash brew install fzf ``` -------------------------------- ### Install Dependencies on Windows using Scoop Source: https://github.com/tonidy/pa-cli/blob/main/README.md Installs required dependencies for pa-cli on Windows, including age and fzf, using the Scoop package manager. ```bash scoop install age fzf ``` -------------------------------- ### Manually Install pa-cli Source: https://github.com/tonidy/pa-cli/blob/main/README.md Instructions for manually installing the pa-cli executable by copying it to a system-wide or user-specific bin directory and setting execute permissions. Users must ensure the target directory is in their PATH. ```bash # Install pa to /usr/local/bin sudo cp pa /usr/local/bin/ sudo chmod +x /usr/local/bin/pa # Or install to your local bin directory mkdir -p ~/.local/bin cp pa ~/.local/bin/ chmod +x ~/.local/bin/pa # Make sure ~/.local/bin is in your PATH ``` -------------------------------- ### Install Dependencies on Windows using Chocolatey Source: https://github.com/tonidy/pa-cli/blob/main/README.md Installs required dependencies for pa-cli on Windows, including age and fzf, using the Chocolatey package manager. ```bash choco install age fzf ``` -------------------------------- ### Install Dependencies on Linux (Ubuntu/Debian) using apt Source: https://github.com/tonidy/pa-cli/blob/main/README.md Installs required dependencies for pa-cli on Ubuntu/Debian systems, including age, fzf, and libsecret-tools, using apt. ```bash sudo apt update sudo apt install age fzf libsecret-tools ``` -------------------------------- ### pa-cli Command Usage Examples Source: https://github.com/tonidy/pa-cli/blob/main/README.md Demonstrates common usage patterns for the `pa` command-line tool, including adding, listing, showing, editing, deleting, and interacting with git for password entries. Also shows various fuzzy search (`pa find`) operations. ```bash $ pa add test generate a password? [y/N]: y saved 'test' to the store. $ pa list test $ pa show test vJwKuEBtxBVvdR-xppTdfofIei0oLlkoSK4OCSP2bMEBsP6ahM $ pa edit test $ pa del test delete password 'test'? [y/N]: y $ pa git log --oneline bbe85dc (HEAD -> main) delete 'test' b597c04 edit 'test' cba20cc add 'test' ef76f7e initial commit $ pa find $ pa find show $ pa find edit $ pa find del ``` -------------------------------- ### Install Dependencies on macOS using Homebrew Source: https://github.com/tonidy/pa-cli/blob/main/README.md Installs required dependencies for pa-cli on macOS, including age, fzf, and age-plugin-se, using the Homebrew package manager. ```bash brew install age fzf age-plugin-se ``` -------------------------------- ### Install Dependencies on Linux (Arch) using pacman Source: https://github.com/tonidy/pa-cli/blob/main/README.md Installs required dependencies for pa-cli on Arch Linux systems, including age, fzf, and libsecret, using pacman. ```bash sudo pacman -S age fzf libsecret ``` -------------------------------- ### Install age-plugin-se for Apple Secure Enclave Source: https://github.com/tonidy/pa-cli/blob/main/README.md This snippet provides the `brew` command to install `age-plugin-se`, which enables `pa-cli` to integrate with Apple's Secure Enclave for enhanced security. This allows for Touch ID/Face ID protected identities and decryption. ```bash brew install age-plugin-se ``` -------------------------------- ### pa-cli Command-Line Interface (CLI) Reference Source: https://github.com/tonidy/pa-cli/blob/main/README.md Reference for the `pa` command-line tool, detailing available commands and configurable environment variables. Commands include adding, deleting, editing, finding, listing, and showing password entries, as well as interacting with git. Environment variables control data directory, password length, pattern, and git tracking. ```APIDOC pa a simple password manager commands: [a]dd [name] - Add a password entry. [d]el [name] - Delete a password entry. [e]dit [name] - Edit a password entry with vi. [f]ind [cmd] - Fuzzy search passwords with fzf. [g]it [cmd] - Run git command in the password dir. [l]ist - List all entries. [s]how [name] - Show password for an entry. env vars: data directory: export PA_DIR=~/.local/share/pa/passwords password length: export PA_LENGTH=50 password pattern: export PA_PATTERN=A-Za-z0-9-_ disable tracking: export PA_NOGIT= ``` -------------------------------- ### Rename a pa-cli Password File Source: https://github.com/tonidy/pa-cli/blob/main/README.md This snippet demonstrates how to manually rename a password file managed by `pa-cli`. It involves navigating to the default password storage directory and using the `mv` command to change the filename, effectively renaming the password entry. ```bash cd ~/.local/share/pa/passwords mv foo.age bar.age ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.