#MacOS(install) doesn't work
1 messages · Page 1 of 1 (latest)
Did you "Manually add the directory to your $HOME/.zshrc (or similar)"?
I don't understand what the command should do?
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
Ok thanks
I will open a pr to add the proper explanation
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
Again, did you put those commands in your "$HOME/.zshrc (or similar)"?
I do tha its wroking but when i clos the terminal deno not found
And just to be sure, you did save the file after adding those commands in your $HOME/.zshrc (or similar)?
Yes i'm not dum
So echo $PATH outputs a long string ending in .deno/bin?
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
Ok i try this
Relevant docs https://zsh.sourceforge.io/Guide/zshguide02.html#l9
there are nothin inside .zshrc
Then fill it up
with the export command ?
export DENO_INSTALL="/Users/augustinmauroy/.deno"
export PATH="$DENO_INSTALL/bin:$PATH"
the directory stay void
What do you mean?
it do inside direcotory .zshrc (there are nothing) and i type command
wait wait