Created
March 22, 2025 19:18
-
-
Save Jobians/cc3cff8b0b13bee03e95f64e86d0f2a6 to your computer and use it in GitHub Desktop.
Revisions
-
Jobians created this gist
Mar 22, 2025 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,59 @@ This guide covers installing **Deno.js** and **Bun.js** in **Termux** using **proot Ubuntu**. ## 1. Install Termux and Proot Ubuntu First, update Termux and install Ubuntu using `proot-distro`: ```sh pkg update && pkg upgrade -y pkg install proot-distro -y proot-distro install ubuntu proot-distro login ubuntu ``` ## 2. Update Ubuntu and Install Dependencies ```sh apt update && apt upgrade -y apt install curl wget unzip git -y ``` --- ## Installing Deno.js Run the official Deno installer: ```sh curl -fsSL https://deno.land/install.sh | sh source ~/.bashrc ``` Verify installation: ```sh deno --version ``` --- ## Installing Bun.js Run the official Bun installer: ```sh curl -fsSL https://bun.sh/install | bash source ~/.bashrc ``` Verify installation: ```sh bun --version ``` --- ## Notes - Deno.js installation automatically sets the environment variables, so we only need to reload the shell (`source ~/.bashrc`). - Bun.js may have compatibility issues on proot Ubuntu. If you encounter issues, check the latest discussions in Bun’s GitHub repository.