after install Haskell, it appears
> In order to run ghc and cabal, you need to adjust your PATH variable.
> You may want to source '/Users/h/.ghcup/env' in your shell
> configuration to do so (e.g. ~/.bashrc).
h is the user name of my Mac, how could I adjust my PATH variable? Thanks a lot.
However with the tidal installation instructions as they are, I don’t think you need to change your PATH.
Could you try it and see?
If you do want to add the ghcup commands to your path, I think you should be able to do it like this:
echo "source ~/.ghcup/env" >> ~/.bashrc
and then logging out and in again.
By the way, I agree all this is unclear and raised it with the ghcup developers recently, and think the next ghcup version will improve on this: https://gitlab.haskell.org/haskell/ghcup/issues/113