#MacOS(install) doesn't work

1 messages · Page 1 of 1 (latest)

hollow parcel
#

as you can see on the Deno screen shot it is not correctly installed. I have followed the installation manual on the official Deno website to the letter.

Thank you for your answer

torpid sorrel
#

Did you "Manually add the directory to your $HOME/.zshrc (or similar)"?

hollow parcel
#

I don't understand what the command should do?

torpid sorrel
#

There is this PATH variable which is a list of folders where your programs exist. The commands add the folder where deno is to the PATH variable

#

So you can type deno instead of ~/.deno/bin/deno

hollow parcel
#

Ok thanks
I will open a pr to add the proper explanation

hollow parcel
#

I still have a problem if I close the terminal with which I installed Deno it does not find the command. And if I leave open but go to another terminal command not found

torpid sorrel
#

Again, did you put those commands in your "$HOME/.zshrc (or similar)"?

hollow parcel
#

I do tha its wroking but when i clos the terminal deno not found

torpid sorrel
#

And just to be sure, you did save the file after adding those commands in your $HOME/.zshrc (or similar)?

hollow parcel
#

Yes i'm not dum

torpid sorrel
#

So echo $PATH outputs a long string ending in .deno/bin?

hollow parcel
torpid sorrel
#

Ok i think there's a misunderstanding. $HOME/.zshrc is a file. Open it in your favourite code editor and put those 2 commands at the end of the file. cmd+c cmd+v cmd+s

hollow parcel
#

Ok i try this

torpid sorrel
hollow parcel
#

there are nothin inside .zshrc

torpid sorrel
#

Then fill it up

hollow parcel
#

with the export command ?

torpid sorrel
#

Yes

#

Both of them

hollow parcel
#

export DENO_INSTALL="/Users/augustinmauroy/.deno"
export PATH="$DENO_INSTALL/bin:$PATH"
the directory stay void

torpid sorrel
#

What do you mean?

hollow parcel
#

it do inside direcotory .zshrc (there are nothing) and i type command

torpid sorrel
#

.zshrc should be a file

#

Where you put those commands

hollow parcel