Nim is a (pretty obscure) "statically typed compiled systems programming language". It's unique because the syntax is very reminiscent of Python, while being a compiled language (;
anyone?), hence making it accessible to Python devs. Now let's cut to the chase - how to install this:
(Powershell only)
- Install chocolatey
choco install nim
OR (x64 only)
The manual way is (imho) one of best ways to install Nim, because it just works.
Here's how to do it:
- Make sure you have an archiving software beforehand [for extracting files]
- Go to https://nim-lang.org/install_windows.html
- First, download the MinGW version depending on your architecture
- Extract the MinGW zip to wherever you want (I personally like
C:\Nim\MinGW
) - Add the
bin
directory to PATH (Google it honey) - Reboot the system for good luck
- Now that that's done, download the Nim zip (this has the compiler, stdlib, etc AIO) depending on your architecture
- Extract the Nim zip to
C:\Nim
, and runfinish.exe
. That tool will guide you through the rest. - Now you have
nim
,nimble
(Nim's package manager) as well as the entire MinGW suite - Profit! (If it doesn't work, reboot again!)
nimble
needs git
to download and install packages automagically. You can always install manually of course (Download repo as zip, cd
and nimble install
), but we all know automatic is based
- Nim creators and contributors
- Nim Discord
- me ofcourse