Ask coding questions

← Back to all posts
How to use shell on mobile
witherr

I'm on mobile and I'd like to run git commands, but there's no shell available. We only have console where git commands sometimes work but other time dont. What are some workarounds and how can I use git while being on mobile?

Voters
Qassmoh
witherr
Comments
hotnewtop
SixBeeps

Weird, I guess they haven't added in a Shell for mobile yet.

For the time being, you have some workarounds:

  • Use the .replit to run a Bash script to run the commands you want to run
  • Use only Bash Repls in the first place
  • Use the sidebar for more common commands

Other than that I guess you'll just have to wait for them to add the Shell.

witherr

@SixBeeps thank you for the reply! do you think you could tell me how to or point me towards a tutorial on how I can run a bash script through .replit?

SixBeeps

@witherr There's no tutorial specifically for that kinda setup, but the file would look something like this: