|
Oktatás * Programozás 1 * Szkriptnyelvek Teaching * Programming 1 (BI) Félévek Linkek * kalendárium |
Nim2 /
InstallationLinuxFirst, install 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:\Users\<user_name>\.nimble\bin C:\nim-2.2.8\bin Testing if everything worksCreate a simple program called echo "hello nim" Compile and run: $ nim c hello.nim $ ./hello hello nim Installing AtlasAtlas is a package cloner that manages project dependencies in an isolated If you want it to be there, you can install it with nimble: $ nimble install https://github.com/nim-lang/atlas Note that "nimble install atlas" wouldn't work since Thus, under Linux it's enough to add |
![]() Blogjaim, hobbi projektjeim * The Ubuntu Incident [ edit ] |