How to Install and use VS Code on Android with Termux

PREREQUISITES

Termux

  • ALLOW YOUR STORAGE PERMISSION TO TERMUX:-

1. termux-setup-storage

  • UPDATE AND UPGRADE YOUR TERMUX PACKAGES:-

2. pkg update && pkg upgrade -y

  • INSTALL PROOT-DISTRO PACKAGE IN TERMUX:-

3. pkg install proot-distro -y

  • CHECK ALL DISTRO 's LIST OF PROOT-DISTRO:-

4. proot-distro list

  • INSTALL UBUNTU CLI WITH PROOR-DISTRO IN TERMUX:-

5. proot-distro install ubuntu

  • AFTER INSTALLING UBUNTU CLI, NOW LOGIN IN UBUNTU SHELL:-

6. proot-distro login ubuntu

  • UPDATE YOUR UBUNTU CLI PACKAGES:-

7. apt update

  • UPGRADE YOUR UBUNTU CLI PACKAGES:-

8. apt upgrade

  • NOW INSTALL WGET PACKAGE IN UBUNTU CLI:-

9. apt install wget -y

  • INSTALL A TARBALL SCRIPT BY BELOW 👇 COMMAND:-

10. wget https://github.com/coder/code-server/releases/download/v4.16.1/code-server-4.16.1-linux-arm64.tar.gz

  • AFTER INSTALLING, NOW EXTRACT THIS TARBALL SCRIPT:-

11. tar -xvf ./code-server-4.16.1-linux-arm64.tar.gz

  • NOW EXIT FROM TERMUX AND RESTART YOUR TERMUX FOR YOU OPEN VS CODE ANYTIME WITH TERMUX:-

12. exit

  • AFTER RESTART YOUR TERMUX, NOW GOTO "code-server-4.16.1-linux-arm64" DIRECTORY THEN GOTO "bin" DIRECTORY:-

13. cd code-server-4.16.1-linux-arm64

cd bin

  • NOW SET YOUR PASSWORD ANYTHING FOR START VS CODE BY TERMUX INSTEAD OF "password":-

14. export PASSWORD="password"

  • NOW START YOUR VS CODE SERVER BY PASTE BELOW 👇 COMMAND:-

15. ./code-server

  • NOW GO TO YOUR INTERNET BROWSER. I AM USING GOOGLE CHROME ON ANDROID AND TYPE "LOCALHOST:8080" ON SEARCH BAR OF BROWSER AND THEN ENTER.
  • NOW SETUP YOUR VS CODE AND CODE ON THIS.

NOW YOUR VS CODE IS FRONT OF YOUR 👀 EYES.


PLEASE SHARE THIS ARTICLE WITH YOUR FRIENDS AND FAMILY. IF YOU HAVE ANY QUESTIONS IN YOUR MIND. THEN PLEASE SHARE YOUR THOUGHTS IN THE COMMENT BOX.

THANK YOU SO MUCH FOR RE

ADING MY ARTICLES.

THANK YOU! 👍👋🙏😊

Tags

Post a Comment

0 Comments
* Please Don't Spam Here. All the Comments are Reviewed by Admin.