commercialhaskell / commercialhaskell/stack

Installer script should be clearer about .local/bin

Open
#3,569 0 comments 0 reactions 0 assignees View on GitHub
component: installer component: output (UI/UX) newcomer friendly type: enhancement
Dominant language
Haskell
Stars
4.1k
Forks
850
Avg merge
10h 37m
Merged PRs (30d)
4

Description

Currently on a fresh install of ubuntu, running the installer script outputs:

```
Installing Stack to: /usr/local/bin/stack...

-------------------------------------------------------------------------------

Stack has been installed to: /usr/local/bin/stack

WARNING: '/home/mgsloan/.local/bin' is not on your PATH.
For best results, please add it to the beginning of PATH in your profile.
```

Two things could be better about the warning:

* It should explain why the user should put `~/.local/bin` on the PATH
* It should explain how to add it to your profile (add to `~/.profile`)

I would just go ahead and implement this, but I'm setting up a fresh installation of my computer and don't have emacs installed yet.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.