deno: Command 'deno' not found in ubuntu 18.04 ( a guide to solve this )
Thanks for your great job @ry .
i do installation like this :
curl -fsSL https://deno.land/x/install/install.sh | sh
when i run
deno hello.ts
i get command ‘deno’ not found error
im using ubuntu 18.04 .
as you say in shell script , we have to add
export PATH="/home/username/.deno/bin:$PATH"
after this , in new instance of terminal , again we have to add it again .
to solve this , please add this guide in installation ,
vim ~/.zshrc
or
vim ~/.bashrc
after that command , please add this line end of file and save and exit
export PATH="/home/username/.deno/bin:$PATH"
thanks for your jobs ❤️
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Reactions: 47
- Comments: 23 (4 by maintainers)
Also, can be installed via
It was working for me and just stopped working for some reason.
Installed it again using:
Which is working for me now.
Again, I have done that, it works in my main terminal, it only does not work in VS Code.
This should be in the documentation!
@ahrasel you have to only set the path in ‘bashrc’ file in order the terminal to recognize deno command. From there on deno executable can be run.
Once we’re integrated with package managers this will be less confusing for people. At the moment I don’t think it requires any extra documentation.