# Get pbcopy and pbpaste in Arch Linux First you need the 'xsel' package. ```sh pacman -S xsel ``` Then create aliases. ```sh alias pbcopy='xsel --clipboard --input' alias pbpaste='xsel --clipboard --output' ``` ### (Optional) If you would like to make your aliases permanent, you need to add them to `~/.bashrc` **For Bash:** ```sh nano ~/.bashrc ``` and paste ``` alias pbcopy='xsel --clipboard --input' alias pbpaste='xsel --clipboard --output' ``` **For ZSH:** ```sh nano .zshrc ``` and paste ```sh alias pbcopy='xsel --clipboard --input' alias pbpaste='xsel --clipboard --output' ```