I'm following the isntructions for installing Nim(rod) onto linux. I then followed this site which showed to do this:
$ echo 'export PATH=$PATH:$your_install_dir/bin' >> ~/.profile
then to:
$ source ~/.profile
then to: $ nim
typing "nim" in the terminal doesn't do anything. I have a Nim folder in my home directory with all the files but can't use it. I did echo 'export PATH=$PATH:$/home/bob/Nim/bin' >> ~/.profile
and the nim command still does nothing. Am I not doing it right? the command pwd told me /home/bob/Nim when I was in the Nim folder.
I tried running nim with sh in Nim/bin and did ./nim -path:/home/bob/Nim/bin
and it said:
config/nim.cfg(45, 2) Hint: added path: '/home/bob/.babel/pkgs/' [Path] config/nim.cfg(46, 2) Hint: added path: '/home/bob/.nimble/pkgs/' [Path] Hint: used config file '/home/bob/Nim/config/nim.cfg' [Conf]
When you post the output in your reply, could you format it using three backticks (the backwards single-quote) on the lines before and after the command output? This makes it much easier to read the output and understand what you're describing.
There is more information about the formatting options at this Nim forum formatting syntax cheat sheet.
Thanks!