# \[ANN\] GHCup 0.1.40.0 released

**URL:** <https://discourse.haskell.org/t/ann-ghcup-0-1-40-0-released/11107>\
**Category:** Announcements\
**Created:** [January 1, 2025, 4:23pm UTC](https://discourse.haskell.org/t/ann-ghcup-0-1-40-0-released/11107 "2025-01-01T16:23:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hasufell](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.haskell.org/hasufell/32/1250_2.png) [@hasufell](https://discourse.haskell.org/u/hasufell)\
**Post date:** [January 1, 2025, 4:23pm UTC](https://discourse.haskell.org/t/ann-ghcup-0-1-40-0-released/11107/1 "2025-01-01T16:23:33Z")

</div>

## How to upgrade

```sh
ghcup upgrade

```

If you haven’t installed yet, follow the instructions at: [https://www.haskell.org/ghcup/](https://www.haskell.org/ghcup/)

## ChangeLog

### New features

- Introduction of “channel aliases” wrt [#1155](https://github.com/haskell/ghcup-hs/pull/1155)
  - as of now: `prereleases`, `cross` and `vanilla`
  - use via e.g. `ghcup config add-release-channel cross`

- Implement pager support wrt [#1118](https://github.com/haskell/ghcup-hs/pull/1118)
  - like git… there’s a difference between `ghcup --help` and `ghcup -h` now

- Add explicit support for OpenSUSE wrt [#1124](https://github.com/haskell/ghcup-hs/pull/1124)
- Add explicit support for OpenBSD wrt [#1138](https://github.com/haskell/ghcup-hs/pull/1138) (still WIP)
- Support tui list item selection via mouse click [#1158](https://github.com/haskell/ghcup-hs/pull/1158)
- proper aarch64 Alpine support

### Improvements and bug fixes

- Context Menu improvements wrt [#1102](https://github.com/haskell/ghcup-hs/pull/1102)
  - GHC(s) can be selected from a list of installed GHCs in bootstrap-ghc, hadrian-ghc, and HLS target-ghcs
  - Build system can be selected from choices
  - All the text edit inputs require opening an edit box by pressing “Enter”
  - The help message an error message are also shown as the user types.

- Fix ‘ghcup run’ on windows, wrt [#1106](https://github.com/haskell/ghcup-hs/pull/1106)
- Print aeson decoding error when metadata decoding fails wrt [#1113](https://github.com/haskell/ghcup-hs/pull/1113)
- laxer forward compatible metadata parsing (e.g. on unknown distros)

## Links

- binaries: [Index of /ghcup/0.1.40.0/](https://downloads.haskell.org/~ghcup/0.1.40.0/)
- hackage: [ghcup: ghc toolchain installer](https://hackage.haskell.org/package/ghcup)
- github release: [Release v0.1.40.0 · haskell/ghcup-hs · GitHub](https://github.com/haskell/ghcup-hs/releases/tag/v0.1.40.0)
- release pipeline: [Build and release · haskell/ghcup-hs@38b184f · GitHub](https://github.com/haskell/ghcup-hs/actions/runs/12571745700)
- metadata PR: [Ghcup 0.1.40.0 by hasufell · Pull Request #277 · haskell/ghcup-metadata · GitHub](https://github.com/haskell/ghcup-metadata/pull/277)

* * *

Teaser of some of the context menu improvements:

![348455309-82e9b187-1e99-445a-a920-0ec8d2b58aa1](https://us1.discourse-cdn.com/flex002/uploads/haskell/original/2X/2/210fa08515a140380a6c2d2e02fa9f7113d5b30e.gif)
