Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Install and update everything" command #179

Open
hasufell opened this issue Jun 27, 2021 · 1 comment
Open

"Install and update everything" command #179

hasufell opened this issue Jun 27, 2021 · 1 comment

Comments

@hasufell
Copy link
Member

In GitLab by @ethercrow on Jun 27, 2021, 17:18

Sometimes you just want to install all the tools on a new machine or update everything on a machine that you haven't used in a year. Currently you have to install and set everything one by one, but what you'd probably want in this situation is to say ghcup please-ensure-that-I-have-the-recommended-versions-of-everything and be done.

@hasufell
Copy link
Member Author

In GitLab by @maerwald on Jun 27, 2021, 17:30

BOOTSTRAP_HASKELL_NONINTERACTIVE=1 curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | sh
~/.ghcup/bin/ghcup install ghc --set latest
~/.ghcup/bin/ghcup install cabal --set latest
~/.ghcup/bin/ghcup install hls --set latest

You can create a shell script from this and place it in your path or make it an alias/function in your bashrc.

citrusmunch pushed a commit to citrusmunch/ghcup-hs that referenced this issue Nov 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant