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
$ source ~/.profile
$ 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]