Answers for "how to install deno shell macos"

0

how to install deno shell macos

How to install deno via shell(curl)


1. Type in terminal(not in any folder-globally): “curl -fsSL https://deno.land/x/install/install.sh | sh”
2. Make a file(not a folder in home directory called: touch ~/.zshrc
3. Inside the file above(file from number 2)  paste in the following: 


fpath=(~/.zsh $fpath)
autoload -Uz compinit
compinit -u


export DENO_INSTALL="/Users/oyesholaolawuyi/.deno"
export PATH="$DENO_INSTALL/bin:$PATH"

Note: Please replace the oyesholaolawuyi with your computers username

(optional) -try jumping to line 5 without doing number 4(if it works then you are good to go)
4.Type in terminal(not in any folder-globally-to make a folder):mkdir ~/.zsh

5. Save and exit the files created
6. Restart the Terminal/command line 
7. Then run “deno” to make sure its working fine
Posted by: Guest on June-24-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language