Advertisement
Guest User

haskellmac

a guest
Mar 3rd, 2021
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 3.18 KB | None | 0 0
  1. benmccready-mbp:~ benmccready$ curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | arch -x86_64 /bin/bash
  2.  
  3. Welcome to Haskell!
  4.  
  5. This script will download and install the following binaries:
  6.   * ghcup - The Haskell toolchain installer
  7.             (for managing GHC/cabal versions)
  8.   * ghc   - The Glasgow Haskell Compiler
  9.   * cabal - The Cabal build tool
  10.  
  11. ghcup installs only into the following directory,
  12. which can be removed anytime:
  13.   /Users/benmccready/.ghcup
  14.  
  15. Press ENTER to proceed or ctrl-c to abort.
  16. Note that this script can be re-run at any given time.
  17.  
  18.  
  19. [ Info  ] Upgrading GHCup...
  20. [ Warn  ] No GHCup update available
  21.  
  22. System requirements
  23.   Note: On OS X, in the course of running ghcup you will be given a dialog box to install the command line tools. Accept and the requirements will be installed for you. You will then need to run the command again.
  24.  
  25. Press ENTER to proceed or ctrl-c to abort.
  26. Installation may take a while.
  27.  
  28.  
  29. [ Warn  ] GHC ver 8.10.4 already installed; if you really want to reinstall it, you may want to run 'ghcup rm ghc 8.10.4' first
  30. [ Info  ] GHC 8.10.4 successfully set as default version
  31. [ Warn  ] Cabal ver 3.4.0.0 already installed; if you really want to reinstall it, you may want to run 'ghcup rm cabal 3.4.0.0' first
  32. Downloading the latest package list from hackage.haskell.org
  33. Package list of hackage.haskell.org is up to date at index-state 2021-03-03T05:14:22Z
  34.  
  35. Installation done!
  36.  
  37. Do you want to install haskell-language-server (HLS) now?
  38. HLS is a language-server that provides IDE-like functionality
  39. and can integrate with different editors, such as Vim, Emacs, VS Code, Atom, ...
  40. Also see https://github.com/haskell/haskell-language-server/blob/master/README.md
  41.  
  42. Answer with YES or NO and press ENTER.
  43.  
  44. YES
  45. [ Info  ] downloading: https://github.com/haskell/haskell-language-server/releases/download/1.0.0/haskell-language-server-macOS-1.0.0.tar.gz
  46.   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
  47.                                  Dload  Upload   Total   Spent    Left  Speed
  48. 100   650  100   650    0     0   1210      0 --:--:-- --:--:-- --:--:--  1210
  49. 100  312M  100  312M    0     0  21.7M      0  0:00:14  0:00:14 --:--:-- 24.6M
  50. [ Info  ] verifying digest of: haskell-language-server-macOS-1.0.0.tar.gz
  51. [ Info  ] Unpacking: haskell-language-server-macOS-1.0.0.tar.gz to /var/folders/p4/gvy85cz1391_4xx6ppv288hw0000gn/T/ghcup-E9ClVZ
  52. [ Info  ] Installing HLS
  53. [ Info  ] HLS installation successful
  54. [ Info  ] This is just the server part of your LSP configuration. Consult the README on how to configure HLS, your project and your LSP client in your editor: https://github.com/haskell/haskell-language-server/blob/master/README.md
  55. In order to run ghc and cabal, you need to adjust your PATH variable.
  56. You may want to source '/Users/benmccready/.ghcup/env' in your shell
  57. configuration to do so (e.g. ~/.bashrc).
  58.  
  59. Detected bash shell on your system...
  60. If you want ghcup to automatically add the required PATH variable to "/Users/benmccready/.bashrc"
  61. answer with YES, otherwise with NO and press ENTER.
  62.  
  63. YES
  64. grep: /Users/benmccready/.bashrc: No such file or directory
  65. benmccready-mbp:~ benmccready$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement