Error: 'git' not in PATH(nim学习系列)

学习委员*尼姆大人 / 2023-05-17 / 原文

某日在一台windows 7 上安装nim lang,然后安装第一个包就报错了。

C:\Users\user>nimble install winim --verbose
    Reading official package list
Downloading https://github.com/khchen/winim using git
     Error: 'git' not in PATH.

随后全盘搜索也没发现“git.exe”,只能重新安装git。然后再次安装winim,发现可以了。

C:\Users\user>nimble install winim
Downloading https://github.com/khchen/winim using git
  Verifying dependencies for winim@3.9.0
 Installing winim@3.9.0
   Success: winim installed successfully.

引用