disruptek / nimph

Nim package hierarchy manager from the future 🧚
MIT License
159 stars 10 forks source link

Add installation script for Windows in PowerShell. #100

Closed moigagoo closed 4 years ago

moigagoo commented 4 years ago

Quick note for Windows users. To build Nimph, you need to have cmake. The easiest way to install it on Windows (as well as other software) is through scoop:

scoop install cmake
moigagoo commented 4 years ago

Accidently closed and reopened.

disruptek commented 4 years ago

We can change the test if it’s broken. The two scenarios it’s designed to perform in:

There are two reasons it builds the binary but doesn’t install it anywhere:

  1. I’m so tired of Nimble thinking it has rights to scribble in ~/.nimble that I’ve turned off permissions to that directory. I don’t want nimph to irritate people the same way.
  2. By letting the user install the app, it puts the responsibility of knowing where it is and how to invoke it on them, sidestepping documentation and confusion.

FWIW, some people are successful at simply installing nimph with nimble, but I think it’s unreliable with different versions of nimble and different environments and different nimterops, etc. The bootstrap takes most of this out of the equation as it ensures that we get a fresh environment that should work consistently.

We can change whatever you want; this is just my rationale, and it may well be wrong! 😁

disruptek commented 4 years ago

Want to add the script, or mention of the script, to the README and maybe mention the bit about scoop/cmake, too?