Your first ten minutes
Install komando, open Komando, add one server and open a terminal on it.
In testing The Komando apps are built and in testing. They have no download link and no date yet. This guide describes them. The command line works today: see Getting started.
Coming Parts of this page are not built yet; they are marked. What is coming
Komando is a free app for Mac, iPhone and iPad. It does its work by running komando, a free command line, on your Mac. So you install komando first, then Komando uses it. In ten minutes you will have one server in Komando and a command prompt on it.
Words you will see
- komando (small k) is the command line that does the work. Komando (capital K) is the app that runs it for you.
- A server, also called a host, is a computer you log in to over SSH. SSH is the secure way to log in to a server.
- A target is anything komando can reach: a server, a database, a cache, a storage bucket, a cluster, a registry, a message queue or a VPN. The inventory is the list of all of them.
- A key is a file that proves who you are to a server, instead of a password.
- Protected marks a target where every change asks you first, such as production.
1. Get Komando
Komando for Mac needs macOS. The iPhone and iPad app is described in Komando on iPhone and iPad. Coming
2. Install komando
Open Komando. If komando is not on this Mac yet, the window says "Install the komando command line".
- Open the Terminal app, paste this line and press Return. It downloads komando's install script for release v0.17.4, and the script installs that release:
curl --proto '=https' --tlsv1.2 -fsSL https://raw.githubusercontent.com/sgnd/komando/v0.17.4/install.sh | KOMANDO_VERSION=v0.17.4 sh - Back in Komando, click Check Again.
If komando is installed in a folder Komando does not look in, click Choose komando… and pick the komando program.
3. Welcome
When komando answers and you have no servers yet, Home says "Welcome to Komando" with three cards:
- Add a Host: add one server by hand. You do this next.
- Add something else: add a database, cache, storage, cluster, registry, queue or VPN. See Add a database, cache or anything else.
- Import from ~/.ssh/config: bring in the servers you already have in your SSH settings. See Add a server.
4. Add your first server
- Click Add a Host. A New Host tab opens.
- Name: a short name with no spaces, such as
web-1. - Address: the user you log in as,
@, then the server's address, such asdeploy@10.0.0.4. Add:2222at the end only when SSH does not use port 22. - Log in with: pick SSH Agent if you already log in to this server from the Terminal app with a key. Pick Password to type the server's password; it is stored encrypted. Log in with a key or a password explains each choice.
- Click Save Host (⌘↩).
Komando says "web-1 is in the inventory." and tests the connection at once: "Testing the connection…", then "Connected". If the test fails, the server is saved anyway and Komando says why. Add a server shows what to do.
5. Open a terminal
- Click Open web-1. The server opens as a tab, on its Overview.
- Click Open Terminal.
- The first time, the server's identity is new to this Mac. Type
yesand press Return.
You now have a command prompt on web-1, deploy@web-1, in green. Type exit or close the tab when you are done. Open a terminal has the rest.
6. Look at Home
Click Home in the sidebar (⌘1). It now shows three sections:
- Needs attention: what komando's health check found wrong, one sentence each, with a button that fixes it. See Home and findings.
- Running now: VPNs, forwards and background jobs.
- Recent activity: what happened lately, with a link to the audit log.
Where to go next
- Add the rest of your servers: Add a server.
- Add a database and query it safely: Databases.
- Ask the agent for help in plain words: The agent.
- Learn how Komando keeps you from changing things by accident: Touch ID and safety.
Help link for this page: /guide/first-ten-minutes/