📅  最后修改于: 2023-12-03 15:00:23.823000             🧑  作者: Mango
Deno is a secure runtime for JavaScript and TypeScript that provides a simple and modern way to build server-side applications using only one programming language. In this tutorial, we will explore how to install Deno on Ubuntu using the Shell-Bash command.
Before installing Deno on Ubuntu, ensure that the following prerequisites are met:
Open the terminal on your Ubuntu machine and update your package list to ensure you have the latest versions of packages. Use the following command:
sudo apt-get update
Next, install the curl
package, which will be used to download the Deno installer:
sudo apt-get install curl
Once the curl
package has been installed, you can download and install the latest version of Deno using the following command:
curl -fsSL https://deno.land/x/install/install.sh | sh -s -- -y
This command will fetch the Deno installer script using curl
and then run it using sh
, with the -y
flag indicating that you accept the default installation options.
After the installation is complete, you can verify that Deno has been installed by running the following command:
deno --version
This should output the version of Deno that has been installed on your system.
That's it! You've successfully installed Deno on Ubuntu using the Shell-Bash command. You can now start building server-side applications using Deno with ease.