Installing Racket 7.5 OSX command line

30 views
Skip to first unread message

tbrooke

unread,
Nov 20, 2019, 11:11:09 PM11/20/19
to Racket Users
I have been trying to get the path set for racket 7.5 cs on OSX -  7.4 cs worked fine 

I am not on Catalina yet. I am on Mojave 10.14.6

I renamed the directory I tried adding to paths.d and still no go

I get:

zsh: command not found: racket

This works from the command line:  /Applications/Racket/bin/racket  and   /Applications/Racket/bin/raco 


This is racket in my paths.d:  /Applications/Racket/bin/racket

This is $PATH (with racket in bold)

/Users/tmb/Coding/Google/google-cloud-sdk/bin:/Users/tmb/.jenv/shims:/Users/tmb/.jenv/bin:/Users/tmb/miniconda3/bin:/Users/tmb/.pyenv/shims:/Users/tmb/.rbenv/shims:/Users/tmb/.pyenv/shims:/Library/Frameworks/Python.framework/Versions/3.7/bin:/Users/tmb/.cargo/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/Racket/bin/racket:/opt/X11/bin:/Users/tmb/.pyenv/shims:/Users/tmb/.pyenv/bin:/Users/tmb/.npm-packages/bin:/Users/tmb/miniconda3/bin:/Applications/Postgres.app/Contents/MacOS/bin:/Users/tmb/.rbenv/shims:/Users/tmb/.rbenv/bin:/Applications/Postgres.app/Contents/Versions/latest/bin:/usr/local/opt/go/libexec/bin:/Library/TeX/texbin:/Users/tmb/golang/bin:/Users/tmb/.ec2/bin:/usr/local/smlnj-110.77/bin:/Library/Python/2.7/bin

finally I tried switching to /Applications/Racket/bin  and tried to run  racket and raco and I got the:  command not found error

Manfred Lotz

unread,
Nov 21, 2019, 4:16:38 AM11/21/19
to racket...@googlegroups.com
On Wed, 20 Nov 2019 20:11:09 -0800 (PST)
tbrooke <tom.b...@gmail.com> wrote:

> I have been trying to get the path set for racket 7.5 cs on OSX -
> 7.4 cs worked fine
>
> I am not on Catalina yet. I am on Mojave 10.14.6
>
> I renamed the directory I tried adding to paths.d and still no go
>
> I get:
>
> zsh: command not found: racket
>
> This works from the command line: /Applications/Racket/bin/racket
> and /Applications/Racket/bin/raco
>

You must add directories to a PATH variable. Adding files does not work.

When you add /Applications/Racket/bin to your PATH things should work
fine.

--
Manfred
Reply all
Reply to author
Forward
0 new messages