Run a file in replit

Question:

how to run file in replit
Replit Profile: https://replit.com/@23f30005111

1 Like

Hi @23f30005111 , welcome to the forums!
You can run this in Shell: languagename file.fileextension to run the file. If your program is Python, you can run python file.py, where `file is the name of your file.
Other languages:

  • Java: java file.java
  • JS: js file.js
    Etc etc

Hope this helps!

2 Likes