You cannot install DOSBox directly on a Chromebook, but you can run it through Linux or use a web-based version
Chromebooks run Chrome OS, which does not support traditional desktop applications like DOSBox. However, you have two practical routes: enable Linux on your Chromebook and install DOSBox there, or use a browser-based DOSBox emulator that runs entirely in Chrome without installation. The Linux route gives you more control and better performance for complex DOS games or programs. The web version works immediately but may run slower and has limits on file storage.
Which route you choose depends on what you want to run. If you are playing old DOS games or running legacy business software occasionally, the web version is simpler. If you plan to use DOS programs regularly or need to transfer many files, setting up Linux is worth the effort.
Key Takeaways
- Chromebooks can run DOSBox through Linux (available on most newer models) or through web-based emulators like js-dos or DOSBox-X Online.
- Enabling Linux on your Chromebook takes about 10 minutes and gives you access to the full DOSBox application with better performance.
- Web-based DOSBox works immediately in your browser but runs slower and stores files in your browser's temporary storage, which can be cleared.
- You will need the actual DOS program or game file (an .exe, .com, or .zip file) before you start — DOSBox itself is just the emulator that runs them.
- File transfer between your Chromebook's main storage and the Linux environment requires using the Files app or command-line tools.
Setting up Linux and installing DOSBox on your Chromebook
Most Chromebooks made after 2018 support Linux, though some older or budget models do not. To check if yours does, open Settings, go to Advanced, and look for "Developers" or "Linux development environment." If you see an option to turn on Linux, your Chromebook supports it.
Click the toggle to enable Linux. Your Chromebook will download and set up a Linux container — this takes 5 to 10 minutes depending on your internet speed. You will see a terminal window open when it is ready. This terminal is where you will install DOSBox.
In the terminal, type this command and press Enter: sudo apt update. This refreshes the list of available programs. Then type: sudo apt install dosbox. The system will ask you to confirm by typing y and pressing Enter. Installation takes a few minutes. When it finishes, type dosbox to launch DOSBox and confirm it works — you should see a black window with a command prompt that says C:\>.
Using web-based DOSBox if Linux is not available
If your Chromebook does not support Linux, or if you want to avoid setup, you can use DOSBox in your browser. Two reliable options are js-dos (at js-dos.com) and DOSBox-X Online (at dosbox-x.com). Both run entirely in Chrome with no installation needed.
Go to js-dos.com, and you will see a library of classic DOS games already loaded. You can play these immediately by clicking them. To run your own DOS program, look for an upload button (usually labeled "Mount" or "Upload") and select the .exe, .com, or .zip file from your Chromebook's Downloads folder. The program will load into the emulator and run in the browser window.
The main limitation is speed — web-based DOSBox runs slower than the Linux version because it is translating DOS commands through your browser. File storage is also temporary; if you close the browser tab, any files you created inside the emulator are lost. For one-off use or testing, this is fine. For regular work, the Linux version is more reliable.
Getting your DOS programs onto your Chromebook
Before you can run anything in DOSBox, you need the actual program file. This is usually a .exe, .com, or .zip file. You might have this on an old CD, a floppy disk image file, or downloaded from the internet. If you have a physical disk, you will need to copy it to a file on another computer first — Chromebooks do not have CD or floppy drives.
Once you have the file, download it to your Chromebook's Downloads folder using Chrome. If you are using web-based DOSBox, you can upload the file directly from there. If you are using Linux, you need to move the file from Downloads into the Linux environment. Open the Files app, click the three-line menu, and turn on "Show Linux files." Navigate to the Linux folder, create a new folder called "dos_programs," and move your DOS files there. This gives you a central place to find them when you launch DOSBox.
Running a DOS program from the Linux version of DOSBox
Open the terminal and type dosbox to launch DOSBox. You will see the C:\> prompt. To access your DOS programs, you need to mount the Linux folder where you stored them. Type: mount d /home/user/dos_programs -t cdrom (replace "user" with your actual Linux username if different). Press Enter. Now type d: to switch to that drive, then dir to list the files in that folder.
Once you see your program listed, type its name to run it. For example, if the file is called game.exe, type game.exe and press Enter. The program will launch inside DOSBox. To exit the program, follow its own exit instructions (usually a menu option or pressing Escape). To close DOSBox entirely, type exit at the command prompt.
Troubleshooting common problems
If DOSBox launches but your program will not run, the most common cause is that the file name or path is wrong. Double-check the exact spelling of the file by typing dir again. DOS is case-sensitive in Linux, so GAME.EXE and game.exe are different. If the file is inside a subfolder, you need to navigate into that folder first by typing cd foldername.
If the program runs but is very slow or the graphics look wrong, DOSBox may have chosen the wrong CPU speed or video mode. You can adjust these in the DOSBox configuration file, but for most older programs, the defaults work fine. If you need to adjust settings, close DOSBox and edit the file at ~/.dosboxrc in the terminal using a text editor like nano.
If web-based DOSBox will not upload your file, check that it is actually a DOS program (a .exe or .com file, not a .zip of multiple files). Some web emulators have file size limits — if your file is larger than 50 MB, the Linux version is a better choice.
Choosing between Linux DOSBox and the web version
Use the Linux version if you plan to run DOS programs regularly, need to work with large files, want better performance, or need to save files permanently. Setup takes about 15 minutes total, but you get a full desktop application that works offline and stores files reliably.
Use the web version if you want to test a program quickly, do not have Linux support on your Chromebook, or prefer not to enable developer features. It works immediately and requires no setup, but expect slower performance and temporary file storage.
Frequently Asked Questions
Can I run Windows programs in DOSBox on a Chromebook?
No. DOSBox emulates DOS (an operating system from the 1980s and 1990s), not Windows. It can run DOS-era programs and games, but not Windows .exe files. If you need Windows software, you would need a different solution like remote desktop or a virtual machine on another computer.
Will my old DOS game run on DOSBox?
Most DOS games from the 1980s and 1990s will run, but not all. Games that required specific hardware (like a Sound Blaster card or 3D accelerator) may need configuration tweaks. The best way to find out is to try it — if it does not work, search online for the game name plus "DOSBox" to see if others have solved the problem.
Can I transfer files between DOSBox and my Chromebook's main storage?
Yes. In the Linux version, you can mount your Chromebook's Downloads folder or other locations using the mount command in DOSBox. In the web version, you can download files from the emulator to your Downloads folder, but the process varies by which web emulator you use — check the interface for a download or export button.
What if my Chromebook does not have Linux support?
Use a web-based DOSBox emulator like js-dos.com or DOSBox-X Online. These run entirely in your browser and work on any Chromebook. Performance will be slower, but they require no setup or special features.
Do I need to pay for DOSBox?
No. DOSBox is free and open-source software. Both the Linux version and all legitimate web-based versions are free to use. Be cautious of websites that claim to charge for DOSBox or require payment to use it.