Working with the Orka3 CLI is straightforward and friendly. Learn how to quickly get set up for the first time, basic operations, and how to get help. If you want to skip the detailed explanations, just run through these steps on your own:Documentation Index
Fetch the complete documentation index at: https://docs.macstadium.com/llms.txt
Use this file to discover all available pages before exploring further.
orka3 config set --api-url <ORKA_API_URL>orka3 completion {bash|fish|powershell|zsh}orka3 loginorka3 node listorka3 vm list(you should see 0 results)orka3 vm deploy --image ghcr.io/macstadium/orka-images/sequoia:latestorka3 image list(this will return the list of locally stored images)orka3 vm list <VM_NAME>andorka3 vm list <VM_NAME> -o wide- Run Apple Screen Sharing to connect to the VM instance. Use
vnc://<VM-IP>:<Screenshare-port>with the IP and port from Step 8. Use theadmin/admincredentials. - On the VM, change the login credentials, apply the latest OS updates, and install (or upgrade) the Orka VM Tools for added security and functionality.
orka3 vm push <VM_NAME> <IMAGE:TAG>(Apple silicon, recommended) ororka3 vm commit <VM_NAME>/orka3 vm save <VM_NAME>(writes to NFS local storage)orka3 vm deploy --image <IMAGE_NAME> -y(use the name of the newly saved image or the original image, if you committed the changes to it).- Run Apple Screen Sharing and connect to the newly deployed VM. Use the connection information printed by
orka3 vm deploy. Verify that your changes are there. orka3 vm delete <VM_NAME>orka3 vm list
- Beginner and advanced users.
- Users with manual workflows.
- Users with workflows that require automation.
1. Before You Begin
- Ensure you can access your cluster account in the MacStadium Customer Portal. See Cluster Access Management: Overview.
- Get your VPN connection information from your IP Plan. You can download it from the MacStadium portal.
- Connect to your Orka cluster via VPN.
- Download and install a VPN client. Note that if you’re using a custom Orka domain, you might need to make some additional configuration changes.
- Use the server address and credentials from the VPN section at the top of your IP Plan.
2. Download and Configure the Orka3 CLI
- Download and install the latest Orka3 CLI that matches your environment version.
- On macOS, run the
pkgexecutable. - On Linux, unpack the archive and move the executable to
/usr/local/bin. - On Windows, add the directory of the executable to your
PATH.
- On macOS, run the
brew install orka3.
- Launch your preferred command-line tool (e.g., the Terminal on macOS) and run the following command:
What’s Your Orka API URL?
You can get your Orka API URL from your IP Plan:- For clusters deployed with Orka 2.1 or later, it’s the
.20address for yourPrivate-1network (usually10.221.188.20), prefixed withhttp. For example:http://10.221.188.20. - You can also use
https://<orka-domain>andhttps://<custom-domain>(if configured). To get the Orka domain for your Orka cluster, contact MacStadium support. To use an external custom domain, see here.
http://<orka-IP>, https://<orka-domain>, and https://<custom-domain> interchangeably in your workflows.
When connecting via HTTPS with a custom domain, the Orka3 CLI requires a valid TLS certificate from a trusted certificate authority. Self-signed certificates are not supported.
- Enable command autocompletion for the Orka3 CLI
3. Authenticate with Your Cluster
Orka lets you log in with your MacStadium Customer Portal credentials. Your access privileges are based on the role configured by your account admin in the Customer Portal. By default, you will have access to the orka-default namespace. You can access additional namespaces if you have been added to additional role bindings.orka3 commands. Your token is stored locally in the ~/.kube/config file. Personal tokens (SSO login) are valid for one hour. Afterward, you must log in again to obtain a new token.
For CI/CD automation, use a service account token instead — service account tokens are valid for one year by default and don’t require browser-based login. See CI/CD Integrations Quick Start for details.
4. Create and Deploy Your First VM Instance
- Open a new command-line prompt and run:
orka-default namespace. Re-run this command as you deploy VM instances later on to keep track of the available resources on your nodes.
- Run:
orka-default namespace. If nothing prints, no one has created any VM instances yet.
- List any images already stored locally in your cluster:
ghcr.io/macstadium/orka-images with pre-built macOS images. You don’t need to pull images manually — you can deploy directly from the registry in the next step.
- Deploy a VM:
- Check your nodes and VMs.
- Re-run
orka3 node list. Did the number of available resources change? - List your VMs:
orka3 vm list --output wide — it shows architecture, base image, CPU, memory, and connection ports. Note that Screenshare and SSH ports are always listed, but you won’t be able to use them unless the respective connection type is enabled in macOS. To filter by name, use orka3 vm list <VM_NAME>.
5. Experience Your VM Instance
- Look at the last output of
orka3 vm listagain. Get that IP andScreenshareport. - Launch Apple Screen Sharing on your local machine (
Cmd+Kin Finder). Typevnc://<VM-IP>:<Screenshare-port>.
ghcr.io/macstadium/orka-images/sequoia:latest is already preconfigured for you, and you can enjoy out-of-the-box Screen Sharing and SSH connectivity.
- When prompted by Apple Screen Sharing, provide the credentials for the VM (
admin/admin). You will be prompted for the password again - when Apple connects to the VM. - On the VM, launch System Settings > Users & Groups. Select the Admin user and click Change password. Set the
Adminuser password to whatever works for you. - (Optional) Launch the Terminal and run the following command.
- Apply the latest OS updates and restart the VM.
6. Preserve the Image Changes
Changing a running VM’s configuration or file system does not affect its base image. As soon as you delete the VM, your changes will be lost, and you will need to recreate them manually on other VMs. To make changes permanent, push your image to an OCI-compatible registry. This is the recommended approach for Apple silicon clusters on Orka 3.5 or later. See Using Harbor OCI Storage with the Orka CLI.- Push the image to your OCI-compatible registry. This retains the updated admin password and OS updates on future deployments.
<VM_NAME> from orka3 vm list. Registry credentials are required — run orka3 regcred --help for more information.
If you are on Intel or need to write to NFS local cluster storage instead of an OCI registry, use
vm commit (overwrites the original base image) or vm save (creates a new image). NFS local storage is being phased out in favor of OCI. Run orka3 vm commit --help or orka3 vm save --help for details.- See how the changes are preserved for yourself. Deploy a new VM instance:
- Launch Apple Screen Sharing and connect to the newly deployed VM instance. Use the updated admin credentials to log in.
7. Delete VMs
This section is optional. When your VM instances have served their purpose, you candelete them.
- Remove all VM instances you created until now:
- List your VMs again.
Next Steps
Now that you’ve deployed and managed your first VM, you’re ready to integrate Orka with your CI/CD pipeline:- CI/CD Integrations Quick Start: set up a service account, create a VM template, and connect Orka to your build system
- Orka VM Tools: install Orka VM Tools on Apple silicon VMs to enable shared storage and other features
- Tools and Integrations: browse all available Orka CLI versions and CI/CD integrations

