Commit eb79e390 authored by Julian Ospald's avatar Julian Ospald 🍵

Simplify installation

parent de134827
...@@ -24,15 +24,13 @@ Just place the `ghcup` shell script into your `PATH` anywhere. ...@@ -24,15 +24,13 @@ Just place the `ghcup` shell script into your `PATH` anywhere.
E.g.: E.g.:
```sh ```sh
mkdir -p ~/.local/bin ( mkdir -p ~/.ghcup/bin && curl https://raw.githubusercontent.com/haskell/ghcup/master/ghcup > ~/.ghcup/bin/ghcup && chmod +x ~/.ghcup/bin/ghcup) && echo "Success"
curl https://raw.githubusercontent.com/haskell/ghcup/master/ghcup > ~/.local/bin/ghcup
chmod +x ~/.local/bin/ghcup
``` ```
Then adjust your `PATH` in `~/.bashrc` (or similar, depending on your shell) like so, for example: Then adjust your `PATH` in `~/.bashrc` (or similar, depending on your shell) like so, for example:
```sh ```sh
export PATH="$HOME/.cabal/bin:$HOME/.ghcup/bin:$HOME/.local/bin:$PATH" export PATH="$HOME/.cabal/bin:$HOME/.ghcup/bin:$PATH"
``` ```
## Usage ## Usage
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment