|
Oktatás * Programozás 1 * Szkriptnyelvek Teaching * Programming 1 (BI) Félévek Linkek * kalendárium |
Nim2 /
InstallationLinuxFirst, install Under Manjaro: Under Ubuntu: visit https://nim-lang.org/install_unix.html and follow the instructions. You need to execute a script that installs choosenim for you. Once you have choosenim, here is how to use it: $ choosenim update self # updates choosenim $ choosenim update stable # installs latest stable Nim $ choosenim stable # selects stable version $ nim -V # version info Make sure to extend your export PATH=$PATH:$HOME/.nimble/bin WindowsVisit https://nim-lang.org/install_windows.html and download Nim in .zip format. I suggest extracting it to the root of the C: drive (example: Then, add these folders to your C:\nim-2.2.8\bin c:\Users\<user_name>\.nimble\bin Testing if everything worksCreate a simple program called echo "hello nim" Compile and run: $ nim c hello.nim $ ./hello hello nim |
![]() Blogjaim, hobbi projektjeim * The Ubuntu Incident [ edit ] |