nim command [options] [projectfile] [arguments]
:/ i try everything to install nim using the source but it's so difficult to run with sublime text editor with nimlime , it's my first day with linux :/.
Switched to Nim 0.18.0
choosenim-init: ChooseNim installed in /home/mohammed/.nimble/bin choosenim-init: You must now ensure that the Nimble bin dir is in your PATH. choosenim-init: Place the following line in the ~/.profile or ~/.bashrc file. choosenim-init: export PATH=/home/mohammed/.nimble/bin:$PATH mohammed@mohammed-Satellite-L840:~$ nim Nim Compiler Version 0.17.2 (2018-02-05) [Linux: amd64] Copyright (c) 2006-2018 by Andreas Rumpf
You need to sudo apt remove nim and follow choosenim's instructions:
You must now ensure that the Nimble bin dir is in your PATH.
Place the following line in the ~/.profile or ~/.bashrc file.
export PATH=/home/mohammed/.nimble/bin:$PATH
P.S. I modified your post so that it's formatted correctly. Click the "Edit" button to see the formatting and learn how to do it correctly for next time :)