Simplify installation
This commit is contained in:
parent
de13482713
commit
eb79e39074
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user