Installation
Windows
For Windows we provide standard installers that will install voyager into AppData and set up your PATH
variable.
- Uninstall previous versions of voyager first
- Download the latest version of the installer from the releases page.
- Run the installer
- Go to the next page to view the instructions for connecting to your Artifactory instance
Git bash
If you're planning to use voyager within git bash it is needed to run through winpty.
Otherwise voyager login
and text highlighting don't work.
Please run the following code to add an alias to your .bashrc
file:
echo "alias voyager='winpty voyager'" >> ~/.bashrc
Linux
For Linux we provide compiled executables with pyinstaller. If there is a system mismatch you may need to build voyager yourself. For installation in Linux run the following commands in the shell
mkdir -p ~/voyager
cd ~/voyager
- Download voyager into this folder
chmod +x ./voyager
echo "export PATH=\$PATH:$(pwd)" >> ~/.profile
- Go to the next page to view the instructions for connecting to your Artifactory instance
Building from scratch
In case your platform does not match any of the provided binaries it is easy to build voyager into an executable. For all the python commands below it is assumed that Python 3.7 is used.
- Clone the repository
python -m venv env
- Activate the virtual env
pip install -r requirements.txt
pyinstaller deploy/voyager_onefile.spec
- The onefile executable can be slow on Windows, it that's the case try
pyinstaller deploy/voyager.spec
- Executables can be found in the dist folder