Installation
ws is a command line program run from a shell like Bash. You can find compiled
version in the releases
in the Github repository in a zip file named ws-binary-release.zip. Inside
the zip file look for the directory that matches your computer and copy that someplace
defined in your path (e.g. $HOME/bin).
Compiled versions are available for Mac OS X (amd64 processor), Linux (amd64), Windows
(amd64) and Rapsberry Pi (both ARM6 and ARM7)
Mac OS X
- Go to github.com/caltechlibrary/ws/releases/latest
- Click on the green “ws-binary-release.zip” link and download
- Open a finder window and find the downloaded file and unzip it (e.g. ws-binary-release.zip)
- Look in the unziped folder and find dist/macosx-amd64/ws
- Drag (or copy) the ws to a “bin” directory in your path
- Open and “Terminal” and run
ws -h
Windows
- Go to github.com/caltechlibrary/ws/releases/latest
- Click on the green “ws-binary-release.zip” link and download
- Open the file manager find the downloaded file and unzip it (e.g. ws-binary-release.zip)
- Look in the unziped folder and find dist/windows-amd64/ws.exe
- Drag (or copy) the ws.exe to a “bin” directory in your path
- Open Bash and and run
ws -h
Linux
- Go to github.com/caltechlibrary/ws/releases/latest
- Click on the green “ws-binary-release.zip” link and download
- find the downloaded zip file and unzip it (e.g. unzip ~/Downloads/ws-binary-release.zip)
- In the unziped directory and find for dist/linux-amd64/ws
- copy the ws to a “bin” directory (e.g. cp ~/Downloads/ws-binary-release/dist/linux-amd64/ws ~/bin/)
- From the shell prompt run
ws -h
Raspberry Pi
If you are using a Raspberry Pi 2 or later use the ARM7 binary, ARM6 is only for the first generaiton Raspberry Pi.
- Go to github.com/caltechlibrary/ws/releases/latest
- Click on the green “ws-binary-release.zip” link and download
- find the downloaded zip file and unzip it (e.g. unzip ~/Downloads/ws-binary-release.zip)
- In the unziped directory and find for dist/raspberrypi-arm7/ws
- copy the ws to a “bin” directory (e.g. cp ~/Downloads/ws-binary-release/dist/raspberrypi-arm7/ws ~/bin/)
- if you are using an original Raspberry Pi you should copy the ARM6 version instead
- From the shell prompt run
ws -h