# Gary for Mac Gary for Mac is the desktop app: the same Garys and chats as the web, plus the parts that need your Mac. You can ask from any app with a keyboard shortcut, dictate, and share folders so Gary can work in the files on your Mac. ## Requirements - A Mac on macOS 27 or later. - A Gary account. Personal accounts and company accounts both work, and a personal account is free. See [Self-Hosted](/self-hosted). ## Install 1. Download Gary for Mac from getquantis.com. 2. Open the downloaded file and drag **Gary** to your **Applications** folder. 3. Open **Gary** from Applications. ## Sign in 1. Enter your email address and choose **Continue**. Or choose **Continue with Google**. 2. Finish signing in in the browser window that opens. Gary returns you to the app. 3. If you belong to more than one account, pick one under **Choose an account**. Use the same email as on the web, and your Garys and chats are there. The app keeps you signed in for 30 days. To sign out, choose **Sign Out** from the Gary menu. ## Find your way around The window has your chats on the left, the conversation in the middle, and a side panel on the right. - **The pages.** **Chat**, **Tasks**, **Labs**, **Code**, and **Account**. Press Cmd+1 for Chat and Cmd+4 for Code. - **The side panel.** **Files**, **Folders**, **Computer**, **Terminal**, **Memory**, and **Routines** for the Gary you're talking to. Press Cmd+Option+] to hide or show it. - **Search.** Press Cmd+K to search chats, files, and messages. - **Gary's desktop.** Choose **Computer** to watch Gary's computer beside the chat, or press Cmd+Shift+B for Gary's browser. See [Use Gary's computer and browser](/computer-and-apps). Chats, approvals, tasks, Labs, and routines work as they do on the web. See [Message and collaborate](/message-and-collaborate). ## Ask from any app with Quick Ask Press Option+Space in any app to open a small prompt over what you're doing. Type a question and press Return. Gary starts a new chat with the Gary you picked, and the answer continues in the main window. - **Attach what you're looking at.** Choose the screenshot button to select part of your desktop, or pick an app's window. macOS asks for Screen Recording permission the first time you attach a window. - **Dictate.** Choose the microphone and speak. - **Go back to a chat.** The prompt lists your five latest chats. To change the key, open **Account**, then **Preferences**, and set **Quick Ask key** to Option+Space, Cmd+Shift+Space, Control+Option+Space, or **Off**. Quick Ask is also in the menu bar and in the **File** menu. ::: cards 2 ### Check a sheet Gary reads the window you attach and answers about it. > What's wrong with the totals in this sheet? List the cells; don't change anything. ### Reply to what you're reading Gary drafts from a screenshot of the message you're reading. > Draft a reply that accepts the new delivery date and asks for a revised quote; don't send it. ::: ## Dictate a message Choose the microphone in the message box and speak. Your words appear in the box, and nothing is sent until you choose **Send**. Press Esc to stop dictating. Dictation uses your Mac's speech recognition. The first time, macOS asks for microphone and Speech Recognition permission. If you declined, turn it on in System Settings, under **Privacy & Security**, then **Speech Recognition**. ## Share Mac folders with Gary Share a folder, and your Garys can list, search, and read its files from their computer in the cloud. Gary reads a file only when it needs it for your request. 1. Open the side panel and choose **Folders**. 2. Choose **+**, pick one or more folders, and choose **Add**. 3. Turn on **Gary can see it**. 4. To let Gary change files, run commands, and use git there, turn on **Can change files**. | Switch | What Gary can do in the folder | | --- | --- | | **Gary can see it** | List and search the folder, and read the files it needs. | | **Can change files** | Create and replace files, run commands, and run git. Gary asks before each change and each command. | What to know: - **Approval.** Each change and each command shows an approval card with the file or the command. Nothing happens until you approve it. - **Undo.** Gary keeps what a change replaced for 30 days. Choose **Review** on the folder to see changes and restore a file. - **Only while the app is open.** Gary reaches your folders while Gary for Mac is running. To keep long work going, turn on **Keep this Mac awake while Gary works in its folders** in **Preferences**. - **Only in your own chats.** A routine or a task Gary handed to another Gary never reaches your Mac's folders. - **Only the folders you shared.** Gary can't read anything outside them, and it never writes inside a `.git` folder. - **Limits.** Gary writes text files up to 5 MB. A command runs for 2 minutes by default and 10 minutes at most. To stop sharing, right-click the folder and choose **Remove from Gary**. Your files stay on your Mac. You can search your shared folders yourself too. Type in **Search This Mac** in the **Folders** pane, then right-click a result and choose **Attach to Message**. :::: window blue **Ledger** · 2:14 PM > In my Invoices folder, rename every PDF from October to start with the vendor name. I found 14 PDFs from October in Invoices. I read the vendor from the first page of each one. Two have no vendor I can read, so I'll leave those as they are and list them for you. ::: card Needs your OK Rename 12 files in Invoices on your Mac? [Approve once] [Reject] Always allow ::: :::: ::: cards 2 ### Search your documents Gary searches a shared folder and reads only the files that match. > Find every PDF in my Contracts folder that mentions auto-renewal, and list the renewal dates. ### Work in a project folder Gary runs your tests on your Mac and fixes what fails, with your approval for each command. > In my site folder, run the tests and fix what fails. Don't commit anything. ::: ## Your Mac as a place Gary works A connected Mac appears under **Computers** on the web and on your phone, beside Gary's cloud computer. Choose it to browse the folders you shared and to start a task there with **New task**. A task on your Mac uses your files, your tools, and your network, so Gary can reach things that only your Mac can. Approvals for it arrive wherever you are, including your phone. To remove a Mac from the list, choose it under **Computers** on the web, then choose **Forget This Mac**. ## Code sessions **Code** opens a project and works in sessions, each on its own branch. You review changes as a diff, then commit, push, or open a merge request. A session can run on Gary's computer or in a folder on your Mac. See [Code with Gary](/code). ## Menu bar, Dock, and notifications - **Menu bar.** Gary's icon shows whether Gary is idle, working, or waiting for you. Its menu has **Open Approvals**, **Quick Ask…**, your recent chats, and **Open Gary**. To hide it, turn off **Show Gary in the menu bar** in **Preferences**. - **Dock.** The Dock icon shows a badge with the number of approvals waiting. - **Notifications.** The Mac notifies you when an answer finished while you were away, when Gary is waiting for your approval, when a code session is waiting for you, when a shell ended, and when a routine reported. Choose a notification to open that chat. Turn each kind on or off, and set **Quiet hours**, in **Account**, under **Preferences**. While you're active on the Mac, notifications arrive there and your phone stays quiet. See [Settings and notifications](/settings-and-notifications). ## Preferences Open **Account**, then **Preferences**, or press Cmd+Comma. | Setting | What it does | | --- | --- | | **Size** | The text size in chats. | | **OpenDyslexic, for easier reading** | Shows chats in the OpenDyslexic font. | | **Notifications** and **Quiet hours** | Which notifications this Mac shows, and when it silences them. | | **Break reminder** | Reminds you to take a break every 30, 60, or 90 minutes. | | **Open web links in** | Gary's browser on its computer, or your Mac's browser. Cmd+click opens a link in the other one. | | **Show Gary in the menu bar** | Shows or hides the menu bar icon. | | **Quick Ask key** | The shortcut for Quick Ask, or **Off**. | | **Keep this Mac awake while Gary works in its folders** | Stops the Mac from sleeping during a job in a shared folder. | ## Keyboard shortcuts Press Cmd+/ in the app to see the full list. | Keys | What it does | | --- | --- | | Option+Space | Quick Ask, over any app. | | Cmd+N | Starts a new chat. | | Cmd+Shift+N | Starts an incognito chat. | | Cmd+K | Searches everything. | | Cmd+Comma | Opens Account. | | Cmd+Option+[ | Hides or shows the chats. | | Cmd+Option+] | Hides or shows the side panel. | | Control+` | Opens the Terminal pane. | | Cmd+Shift+B | Opens Gary's browser. | | Return | Sends the message. Shift+Return starts a new line. | | Cmd+Period | Stops Gary in a code session. | ## Managed settings for IT An organization that manages its Macs can set the app's settings with a configuration profile for the preference domain `llc.quantis.gary`. A managed setting can't be changed on the Mac, and **Preferences** lists it under **Managed by your organization**. | Key | Type | What it does | | --- | --- | --- | | `AllowedWorkspaces` | Array of strings | The accounts the app may use. Chats, Code, and folder sharing see no others. | | `DisableAutoMode` | Boolean | Code sessions never offer or start in Auto mode. | | `DisableQuickEntry` | Boolean | Turns off Quick Ask and its shortcut. | | `DisableNotifications` | Boolean | The app sends no notifications. | | `DisableLocalShell` | Boolean | The Terminal pane opens no shell on this Mac. | To check a key on a Mac, run `defaults read llc.quantis.gary DisableAutoMode`. Rules for what Gary may do are set for the whole organization. See [Admin overview](/teams-and-enterprises). ## Update the app Gary for Mac checks for updates when it opens and once a day. It downloads an update in the background and installs it the next time you quit and open the app. To check now, choose **Check for Updates…** from the Gary menu. ## Windows and Linux Gary's desktop app also runs on Windows 10 or later and on Linux. It has the same chats, tasks, Labs, search, and notifications, and you download it from getquantis.com. Quick Ask is there too, with Alt+Space as its key. To share folders on a Linux computer or a server, use the `gary` command line tool. It works like the Mac's **Folders** pane: you choose the directories, and Gary asks before each change and each command. ```bash npm install -g @quantis-ai/gary gary install gary dir add ~/projects ``` See [Gary on the command line](/command-line).