-
Notifications
You must be signed in to change notification settings - Fork 11
Installation
Install via whatever AUR helper you use. e.g.:
yay -S version
or
paru -S version
or
pacman install version
First, download or clone this repository to your computer. Then choose one of the options below.
This will install version
to /usr/local/bin/
and the man page to /usr/local/share/man/man1
Clone or download this repo, then...
cd version
sudo ./install.sh
This will delete version
from /usr/local/bin/
and delete the man page at /usr/local/share/man/man1/version.1.gz
cd version
sudo ./uninstall.sh
First, download or clone this repository to your computer. Then choose one of the options below.
Use this if you want to install version
to somewhere other than /usr/local/bin/
.
-
Place the file
version
in a directory that is in yourPATH
variable:-
To see what's in your
PATH
variable on Linux, open a terminal and typeecho $PATH
-
The different directories are separated by
:
. Either moveversion
to one of these, or append another directory toPATH
like this (assuming you are usingbash
):export PATH=/your/new/directory:$PATH
When using
fish
, use this command instead:set PATH "$PATH:/your/new/directory"
Put the appropriate line in your
~/.bashrc
file to make this change persistent. When you are usingzsh
, put it in~/.zshrc
instead. Forfish
users, the right file is~/.config/fish/config.fish
.
-
-
Now, you are ready to use
version
wherever you are in the filesystem!