1. Download here the latest version of WAP package.
2. Extract the package to your local computer into a directory.
3. At a terminal go to the directory where the package was extracted.
4. Run the script wap to use the tool. See here how you can use the tool.