Getting started with COSMOS is easy with this step-by-step walkthrough for installing and setting up COSMOS on Windows.
COSMOS,THE tool for controlling and commanding embedded hardware, is easy to use and free to get started, making COSMOS accessible to everyone—from hobbyists to constellation operators. While COSMOS is inherently cross-platform, setting up your environment on Windows can sometimes feel daunting if you're not sure where to get started. OpenC3Staff Software Engineer Clay Kramp walks through step-by-step instructions for getting OpenC3 COSMOS up and running on a Windows 11 machine using Docker.
To start, we’ll need the following installed:
First,head to the COSMOS git repo to pull the COSMOS project files into your localdirectory. Open Git Bash and navigate to your preferred folder (e.g., Documents) then run the following command:
Bash
git clone https://github.com/OpenC3/cosmos-project.git
Once finished, move into the project folder:
Bash
cd cosmos-project
COSMOS utilizes Docker containers to ensure all users have a consistent, reliable experience.
Once your machine has rebooted, launch Docker Desktop. You should see a status message indicating that the Docker Engine is starting. Once it's ready, you’re clear to proceed.
Time to get COSMOS up and running! Navigate back to your cosmos-project directory in Git Bash and run the boot script:
Bash
./openc3.bat run
This script will start pulling the pre-built Docker images (including openc3-operator, openc3-redis, and openc3-minio). The first time running this process may take a few minutes. On subsequent runs, these images will be cached, making the startup process significantly faster.
Once the script finishes, open a browser window and navigate to:
http://localhost:2900
You will be prompted to set a new password for your local instance. Once set,you’ll have access to the full COSMOS suite, including:
And that’s it! Now your COSMOS Core instance is up,running, and ready to connect to the embedded hardware of your choice.
If you need to stop COSMOS or want to clear out your local environment and start fresh, the following cleanup script will stop all running containers and remove local volumes:
Bash
./openc3.bat cleanup local force
With the demo plugin pre-installed, you can immediately begin exploring the features of COSMOS.
Additional demo data and OpenC3- and COSMOS user-built plugins are available in the COSMOS App Store.
Additional documentation on COSMOS, including how to build your own plugins, is also available.