After doing this tutorial you will know how to
These steps roughly follow the Setup instructions on the Noms README.
mkdir -p ~/lib/noms).
tar -xvzf noms-*.tar.gz
mkdir -p ~/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
pwdand 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 $PATHand you should see a list of directory paths separated by colons. Look for your bin directory; for example, I’m looking for
If you don’t see the homdir
bin directory in your path, you need to add it by editing your
.bash_profile file. Open either of those files in your text editor and add the following line somewhere:
Then save the file and go back to your command line.
env bashto restart your shell and then
echo $PATHagain. 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
nomsand 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.