Recent Changes - Search:

Oktatás

* Programozás 1
  + feladatsor
  + GitHub oldal

* Szkriptnyelvek
  + feladatsor
  + quick link

Teaching

* Programming 1 (BI)
  ◇ exercises
  ◇ quick link

teaching assets


Félévek

* 2025/26/2
* archívum


Linkek

* kalendárium
   - munkaszüneti napok '20
* tételsorok
* jegyzetek
* szakdolgozat / PhD
* ösztöndíjak
* certificates
* C lang.
* C++
* C#
* Clojure
* D lang.
* Java
* Nim
* Nim 2
* Scala


[ edit | logout ]
[ sandbox | passwd ]

Installation

Linux

First, install choosenim. This program allows you to install and upgrade Nim easily.

Under Manjaro: yay -S choosenim

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 PATH with the following folder:

export PATH=$PATH:$HOME/.nimble/bin

Windows

Visit 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: C:\nim-2.2.8).

Then, add these folders to your PATH:

C:\nim-2.2.8\bin

c:\Users\<user_name>\.nimble\bin

Testing if everything works

Create a simple program called hello.nim :

echo "hello nim"

Compile and run:

$ nim c hello.nim
$ ./hello
hello nim
Cloud City

  

Blogjaim, hobbi projektjeim

* The Ubuntu Incident
* Python Adventures
* @GitHub
* heroku
* extra
* haladó Python
* YouTube listák


Debrecen | la France


[ edit ]

Edit - History - Print *** Report - Recent Changes - Search
Page last modified on 2026 March 17, 21:43