@grierson has joined the channel
I’m trying to install raco pkg install racket-langserver
but it keeps installing racket 6.8 version. How can I get it to install the latest 8.1 version?
I think it depends on your current version racket
/raco
?
So uninstall Racket, and install 8.1
Try which raco
which racket
to double check the path to raco and racket is the same.
think I might have found the issue. I have a minimal 6.8 version
It appears there’s no way to query raco
’s version, something like raco -v
:thinking_face:
What’s the difference between a “formula” and a “cask”?
A cask is a special formula that supports GUI, IIUC
I think i’ve found the issue. When I brew install racket
it comes with racket 6.8 which the lang server then reads as my racket version and has a version conflict.
I think the easiest approach is not to use brew
for Racket, but use the installers at http://download.racket-lang.org\|download.racket-lang.org instead.
Actually I kinda disagree lol. I used to use brew
and it works really well. You should have the --cask
flag though.
Don’t install the minimal Racket one
Ah
NEU is currently down
Matthias sent an email to the list a couple of days ago
So brew install racket
installs the minimal one - that’s confusing.
it installs both. Well looks like a tiny part of 6.8
I think it used to. Pretty sure nowadays it’s renamed to minimal-racket
Ah.
6.8 is long time ago
Can’t remember 6.8. Now 6.5 makes me nostalgic :slightly_smiling_face:
but when you type brew install racket
it installs the minimal version which as 6.8 with it
My suggestion is to uninstall it, and then run brew install --cask racket
If all else fail, perhaps follow @soegaard2’s suggestion to download from the download page explicitly (brew install --cask
does that under the hood, but it has other goodies like setting up PATH for you)
[Unfortunately, there is no port for Racket in MacPorts, otherwise I would recommend port install racket
over brew install
]
As a long time brew
user, I use the http://download.racket-lang.org\|download.racket-lang.org installer for racket instead :slightly_smiling_face: