How to Add a Non-Steam Game to Steam Using Command Line
Learn how to add non-Steam games to your Steam library via command line with a simple step-by-step command.
259 views
To add a non-Steam game from the command line, navigate to the Steam root directory and run: `steam -applaunch YOUR_APP_ID -addnonsteamgame "<path_to_executable>"`. This command will launch Steam and add the specified game.
FAQs & Answers
- Can I add any game to Steam using the command line? Yes, you can add any non-Steam game to your Steam library using the appropriate command line by specifying the game's executable path and Steam app ID.
- Where is the Steam root directory located? The Steam root directory is typically located where you installed Steam, such as C:\Program Files (x86)\Steam on Windows, or ~/Library/Application Support/Steam on macOS.
- Does adding a non-Steam game via command line launch the game immediately? The command launches Steam and adds the specified non-Steam game; depending on the command, it may also launch the game immediately.