DEV Community

suren40
suren40

Posted on

How I connected Google Client Python API to Google Cloud Virtual Machine.

It took me around half an hour to figure it out the way to install deno in my linux machine(debian)

and run just "deno"

The installation process is quite easy but newbie like me always gets confused. This is for those like who were not able to find the right way to install it and open the deno with single command deno.

My steps and procedure may be wrong or bad practice but this way I solved it

First step was to install the deno using

 curl -fsSL https://deno.land/x/install/install.sh | sh

Just type it on the shell and it will download the bin file(executable file) file

After this It will prompt to add the two file in .profile or .bashrc I followed the process was able to run the deno but I was not able to use the shortcut "deno" what I did was

 export PATH=~/.deno/bin/deno:$PATH

in our .bashrc file which is found in our ~(home directory of user). just type

and type the command

source .bashrc
and by typing the deno it worked!!!

If it still doesn't work for you exit and terminal and try it again.

Regarding zsh if the deno is not working we have to put the export command before zsh mentioned in .bashrc

Top comments (0)