Add to PATH

Optionally, you can add the commands to your PATH so that you can run them from any directory.

Windows

Add the location of the command line clients to your Path, using the System Properties control panel. For example, if you extracted the clients to your Desktop folder, you might add %USERPROFILE%\Desktop\unimelb-mf-clients-0.3.8\bin\windows to your Path. This will allow you to run the commands from any folder without specifying the path to the binary.

  • Click the start button, type env and run Edit the environment variables for your account.


  • Under User variables for <username>, click the Path entry and click Edit.... On Windows 10, you can add an additional line, on Windows 7, add the string using a semicolon (;) as a separator.


macOS

To add the location of the command line clients to your $PATH, edit the .bash_profile file in your home directory with TextEdit:

  • Run TextEdit
  • File -> Open
  • Press the keyboard shortcut Command-Shift-H to go to your Home directory
  • Press the keyboard shortcut Command-Shift-Period to show hidden files and directories
  • Open the .bash_profile file, or create one with the New Document button (see Configuration File for instructions on making it plain text, etc.)


  • Add a line (making sure it matches the location you extracted the zip file):

    export PATH=~/bin/unimelb-mf-clients-0.3.8/bin/unix:$PATH
    
  • Save the file
  • Close and re-open the terminal to re-load the changes to your PATH

Linux

Add the location of the command line clients to your $PATH. This will allow you to run the commands from any folder without specifying the path to the binary.

  • Edit your .bashrc file:

    nano ~/.bashrc
    
  • Add a line to the bottom of the file:

    export PATH=$PATH:~/bin/unimelb-mf-clients-0.3.8/bin/unix
    
  • You will need to log out and log back in to pick up the changes to your PATH