Instalación Deno

De Wiki Proyectos Beta
Revisión del 15:17 4 ago 2024 de Josego (discusión | contribs.) (→‎Ubuntu)
(difs.) ← Revisión anterior | Revisión actual (difs.) | Revisión siguiente → (difs.)
Ir a la navegación Ir a la búsqueda

PowerShell (Windows)

irm https://deno.land/install.ps1 | iex

GNU/Linux

Ubuntu

Ubuntu 22.04 LTS

cd ~
curl -fsSL https://deno.land/x/install/install.sh | sh
nano .bashrc

Agregar al final del archivo:

export DENO_INSTALL="/home/proyectosbeta/.deno"
export PATH="$DENO_INSTALL/bin:$PATH"

Ahora guardamos (control + o) y luego cerramos el editor (control + x). Volvemos a teclear en la terminal:

source .bashrc
Verificar versión
deno --version

Sale por pantalla:

deno 1.33.1 (release, x86_64-unknown-linux-gnu)
v8 11.4.183.1
typescript 5.0.3

Ubuntu 24.04 LTS

cd ~
curl -fsSL https://deno.land/install.sh | sh
nano .bashrc

Agregar al final del archivo:

export DENO_INSTALL="/home/proyectosbeta/.deno"
export PATH="$DENO_INSTALL/bin:$PATH"

Ahora guardamos (control + o) y luego cerramos el editor (control + x). Volvemos a teclear en la terminal:

source .bashrc
Verificar versión
deno --version

Sale por pantalla:

deno 1.45.5 (release, x86_64-unknown-linux-gnu)
v8 12.7.224.13
typescript 5.5.2