Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- benmccready-mbp:~ benmccready$ curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | arch -x86_64 /bin/bash
- Welcome to Haskell!
- This script will download and install the following binaries:
- * ghcup - The Haskell toolchain installer
- (for managing GHC/cabal versions)
- * ghc - The Glasgow Haskell Compiler
- * cabal - The Cabal build tool
- ghcup installs only into the following directory,
- which can be removed anytime:
- /Users/benmccready/.ghcup
- Press ENTER to proceed or ctrl-c to abort.
- Note that this script can be re-run at any given time.
- [ Info ] Upgrading GHCup...
- [ Warn ] No GHCup update available
- System requirements
- 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.
- Press ENTER to proceed or ctrl-c to abort.
- Installation may take a while.
- [ 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
- [ Info ] GHC 8.10.4 successfully set as default version
- [ 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
- Downloading the latest package list from hackage.haskell.org
- Package list of hackage.haskell.org is up to date at index-state 2021-03-03T05:14:22Z
- Installation done!
- Do you want to install haskell-language-server (HLS) now?
- HLS is a language-server that provides IDE-like functionality
- and can integrate with different editors, such as Vim, Emacs, VS Code, Atom, ...
- Also see https://github.com/haskell/haskell-language-server/blob/master/README.md
- Answer with YES or NO and press ENTER.
- YES
- [ Info ] downloading: https://github.com/haskell/haskell-language-server/releases/download/1.0.0/haskell-language-server-macOS-1.0.0.tar.gz
- % Total % Received % Xferd Average Speed Time Time Time Current
- Dload Upload Total Spent Left Speed
- 100 650 100 650 0 0 1210 0 --:--:-- --:--:-- --:--:-- 1210
- 100 312M 100 312M 0 0 21.7M 0 0:00:14 0:00:14 --:--:-- 24.6M
- [ Info ] verifying digest of: haskell-language-server-macOS-1.0.0.tar.gz
- [ Info ] Unpacking: haskell-language-server-macOS-1.0.0.tar.gz to /var/folders/p4/gvy85cz1391_4xx6ppv288hw0000gn/T/ghcup-E9ClVZ
- [ Info ] Installing HLS
- [ Info ] HLS installation successful
- [ 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
- In order to run ghc and cabal, you need to adjust your PATH variable.
- You may want to source '/Users/benmccready/.ghcup/env' in your shell
- configuration to do so (e.g. ~/.bashrc).
- Detected bash shell on your system...
- If you want ghcup to automatically add the required PATH variable to "/Users/benmccready/.bashrc"
- answer with YES, otherwise with NO and press ENTER.
- YES
- grep: /Users/benmccready/.bashrc: No such file or directory
- benmccready-mbp:~ benmccready$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement