I went a different route but didn't get nimble.  I installed minGW from the 
Nim Github site, then cloned the Nim Github and followed the instructions 
as given on Nim 
<https://github.com/nim-lang/nim?tab=readme-ov-file#compiling>.  This gave 
me Nim 1.9.1.  However, the build script also tries to build koch, and 
Windows Defender thinks it's malware and deletes it.  That might be the 
source of the warning for the zip of the binary distro.  According to the 
instructions, kock is used to further upgrade Nim.  So that won't work.

Also, this distro doesn't build nimble.  I'll go after that next.

On Monday, January 1, 2024 at 10:27:25 AM UTC-5 Edward K. Ream wrote:

> Apparently the malware warnings are spurious: See nim issue #23151 
> <https://github.com/nim-lang/Nim/issues/23151>.
>
> That said, there is no way I would open the .zip file without first 
> disinfecting it.
>
> The Nim install page <https://nim-lang.org/install_windows.html>said to 
> run finish.exe after unpacking the .zip file. But that file does not exist. 
> Happily, earlier I had found the Nim Package Directory 
> <https://nimble.directory/>.
>
> I was looking for a python tokenizer, but I noticed the Nim package 
> <https://nimble.directory/pkg/nim>.
>
> To complete the install I just ran nimble install nim from Nim's bin 
> directory. Everything just worked!
>
> Perhaps I got lucky: I had already installed gcc (and added gcc.cmd) so 
> nimble could invoke gcc even with gcc missing from my Windows path.
>
> *Summary*
>
> Use nimble install nim to complete the install.
>
> I am eager to start playing with Nim!
>
> Edward
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/34981960-397e-4bb2-8996-1a99b87ec2d8n%40googlegroups.com.

Reply via email to