After doing this tutorial you will know how to
These steps roughly follow the Setup instructions on the Noms README.
mkdir -p ~/lib/noms ).~/lib/noms directory.tar -xvzf noms-*.tar.gzmkdir -p ~/bincd ~/bin ).We’re going to create “symlinks” from the noms executables that you extracted from the .tar.gz file into this bin directory. The following code snippet assumes you are using Bash, which you can check by doing echo $SHELL on the command line. Provided that you see bash as the response, you’re all set to do run the following two lines on your command line:
for f in ~/lib/noms/*; do ln -s $f .; done
rm ./noms-*.tar.gz
pwd and take note of the response. This tells you the full path of your homedir bin directory. For example, mine is /Users/jadrian/bin, but yours will be different.echo $PATH and you should see a list of directory paths separated by colons. Look for your bin directory; for example, I’m looking for /Users/jadrian/bin.If you don’t see the homdir bin directory in your path, you need to add it by editing your .bashrc or .bash_profile file. Open either of those files in your text editor and add the following line somewhere:
export PATH=$HOME/bin:$PATH
Then save the file and go back to your command line.
env bash to restart your shell and then echo $PATH again. You should see your homedir bin directory near the beginning of the list now.which noms; you should see the path to the Noms executable in your bin directory. Then run noms and you should get a help message. This means Noms is installed!Go back to the Intro to Noms workshop and proceed to the next step.