{"id":13446167,"url":"https://github.com/quackduck/tii","last_synced_at":"2025-04-23T01:50:00.269Z","repository":{"id":55077253,"uuid":"326339418","full_name":"quackduck/tii","owner":"quackduck","description":"Command not found? Install it right there!","archived":false,"fork":false,"pushed_at":"2023-07-04T06:34:22.000Z","size":33,"stargazers_count":41,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-23T01:49:51.051Z","etag":null,"topics":["bash","command-not-found","fish","macos","zsh"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/quackduck.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2021-01-03T06:01:58.000Z","updated_at":"2024-05-19T21:18:59.000Z","dependencies_parsed_at":"2022-08-14T11:20:28.640Z","dependency_job_id":"b45de11c-6f36-4261-a363-ba31658d3b2a","html_url":"https://github.com/quackduck/tii","commit_stats":{"total_commits":38,"total_committers":3,"mean_commits":"12.666666666666666","dds":0.1578947368421053,"last_synced_commit":"0aed71d1de72dee2754e9e3ce360b1e9623480c7"},"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quackduck%2Ftii","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quackduck%2Ftii/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quackduck%2Ftii/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quackduck%2Ftii/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/quackduck","download_url":"https://codeload.github.com/quackduck/tii/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250354294,"owners_count":21416751,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bash","command-not-found","fish","macos","zsh"],"created_at":"2024-07-31T05:00:47.535Z","updated_at":"2025-04-23T01:50:00.253Z","avatar_url":"https://github.com/quackduck.png","language":"Go","funding_links":[],"categories":["CLI Tools","Go"],"sub_categories":[],"readme":"# Tii\n\nOn most GNU/Linux systems, when a command isn't found, a message showing what\nto run to install the command is shown. However, macOS doesn't have\nthis. \n\nThis tool adds a similar function with support for macOS using\nthe Homebrew package manager. Instead of simply printing the best matches, Tii shows package\ndescriptions and also offers to run an install command for you.\n\n[comment]: \u003c\u003e ([![asciicast]\u0026#40;https://asciinema.org/a/382511.svg\u0026#41;]\u0026#40;https://asciinema.org/a/382511?autoplay=1\u0026speed=2\u0026#41;)\n\n\u003ca href=\"https://asciinema.org/a/592995?autoplay=1\u0026speed=2\" target=\"_blank\"\u003e\n\u003cimg src=\"https://asciinema.org/a/592995.svg\" alt=\"demo\"\u003e\n\u003c/a\u003e\n\nThe name Tii is an acronym for \"Then Install It\", which is what you'll probably say when shown \"Command not found\".\n\n## Installing\nAs of now, only macOS is supported\n```shell\nbrew install quackduck/tap/tii\n```\n\n## Usage, environment and files\n\nTii will be automatically triggered if a command is not found and so you usually do not need to directly interact with it.\n\n```text\nUsage: tii [--help/-h | --version/-v | --refresh-cache/-r | \u003ccommand\u003e]\n\nExamples:\n   tii fish\n   tii cowsay\n   tii --help\n\nEnvironment:\n   TII_DISABLE_INTERACTIVE: If this variable is set to \"true\", Tii will\n      disable interactive output (prompting for confirmation) and not install\n      any packages.\n   TII_AUTO_INSTALL_EXACT_MATCHES: If this variable is set to \"true\", Tii will\n      automatically install exact matches without prompting for confirmation\n\nFiles:\n   $XDG_DATA_HOME/tii: used to cache package list info. If $XDG_DATA_HOME is\n      not set, ~/.local/share is used instead. Refresh the cache using the\n      --refresh-cache option.\n```\n\n## Uninstalling\nIf you have issues with Tii, head over to [issues](https://github.com/quackduck/tii/issues).\n\nYou can uninstall with:\n```shell\nbrew uninstall tii\n```\n\nHere's a list of all the files Tii uses:\n```text\n/usr/local/bin/tii\n/usr/local/share/fish/vendor_functions.d/tii_on_command_not_found.fish\n/etc/profile.d/tii_on_command_not_found.sh\n$XDG_DATA_HOME/tii or ~/.local/share/tii\n```\n\n## Any other business\nHave a question, idea or just want to share something? Head over to [Discussions](https://github.com/quackduck/uniclip/discussions)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquackduck%2Ftii","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fquackduck%2Ftii","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquackduck%2Ftii/lists"}