I wanted to install a command line tool to convert yaml files into json files. Actually My real intention is to validate yaml files all at once in a directory.
I did some research and followed the instructions listed here and here. However, command line always tells me that -bash: yaml2json: command not found
. I'm wondering if it's because the files weren't in my path? my $PATH
looks like this:
/Users/luca/.rbenv/shims:/Library/Java/JavaVirtualMachines/jdk1.7.0_71.jdk/Contents/Home/bin:~/bin:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/Library/Frameworks/Python.framework/Versions/3.4/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
What should I do to get this work? Thank you very much!