-
Notifications
You must be signed in to change notification settings - Fork 71
Description
The current install location for zigup
is ~/bin
on posix systems. The reason for this is that
- It's likely writeable by the current user
- It's a common location that is added to the users
PATH
However, another default location could be the path to the zigup
binary itself. This solves the PATH
issue because it means zig
will be reachable in the same manner that the user is calling zigup
. For example, if the user installed zigup
to a location that is in the PATH
, then zig
will be available in the same PATH
entry. If zigup
is not availabe in PATH
, then maybe the user didn't want it to be.
Note that the default install location doesn't preclude other solutions. For example, this default solution is not viable for the "Nix Package Manager" because zigup
would be installed to its own directory (which should be readonly). In this case I expect the Nix expression to create the zigup
and configure a different default install location, perhaps ~/bin
. It seems fine to change the default install location for versions of zigup that are installed by package managers and a version that is meant to be a standalone executable installed by the user.