{"id":19691991,"url":"https://github.com/chrisyarbrough/uprefs","last_synced_at":"2026-05-14T17:06:19.610Z","repository":{"id":154121824,"uuid":"562536528","full_name":"chrisyarbrough/uprefs","owner":"chrisyarbrough","description":"A macOS command line utility to view and modify Unity EditorPrefs.","archived":false,"fork":false,"pushed_at":"2022-11-06T17:40:16.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-27T11:43:16.308Z","etag":null,"topics":["command-line","editorprefs","preferences","swift","unity","unity-editor","utility"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chrisyarbrough.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-11-06T16:55:18.000Z","updated_at":"2022-11-08T21:40:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"c23fbada-20a5-4697-aef2-0c636a1b1f2e","html_url":"https://github.com/chrisyarbrough/uprefs","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/chrisyarbrough/uprefs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisyarbrough%2Fuprefs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisyarbrough%2Fuprefs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisyarbrough%2Fuprefs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisyarbrough%2Fuprefs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chrisyarbrough","download_url":"https://codeload.github.com/chrisyarbrough/uprefs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisyarbrough%2Fuprefs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33034788,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"online","status_checked_at":"2026-05-14T02:00:06.663Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["command-line","editorprefs","preferences","swift","unity","unity-editor","utility"],"created_at":"2024-11-11T19:12:02.424Z","updated_at":"2026-05-14T17:06:19.604Z","avatar_url":"https://github.com/chrisyarbrough.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# uprefs\nA command line utility to view and modify Unity EditorPrefs.\n\n\u003cimg width=\"771\" alt=\"uprefs_list\" src=\"https://user-images.githubusercontent.com/17833862/200186113-728030a7-2c56-4bc0-a066-8a6385380854.png\"\u003e\n\n# Support\nOperating system: macOS (tested on Monterey 12.6.1)\u003cbr\u003e\nUnity version: 2017.4 or newer (at least until 2023)\n\n# Use case\nThis tool is especially useful as part of an automated build process.\nFor example, when wanting to set Unity preferences before opening the editor \nin an environment which does not provide a GUI (e.g. CI/CD server).\nIt can also be used simply as a fast way to view and search for preference\nitems, e.g. to align their format, delete outdated entries or similar.\n\n# Setup\nThe utility is written in Swift 5 and runs as a command line application.\nCopy the binary to a location of your choice, e.g. `/usr/local/bin/`\n\nOr, build/run from source.\n\n# Dependencies\n- Swift Argument Parser\n- Rainbow\n\n# Usage\nRun `uprefs --help` to see all commands and options.\nThe utility should not be used to edit prefs \nwhile Unity is running because changes may be overridden.\n\n## View Entries\nDisplay all EditorPrefs in the format *key:value*:\u003cbr\u003e\n`uprefs list`\n\nThis is the same as:\u003cbr\u003e\n`uprefs list --keys-and-values`\n\nSearch for keys by piping a list of all keys to grep:\u003cbr\u003e\n`uprefs list --keys | grep 'UnityEditor.'`\n\nTo output only the values:\u003cbr\u003e\n`uprefs list --values`\n\nBy default, the list output is indented with whitespace to make it easier\nto differentiate entries if some values are long multiline strings.\nDisable the indent by specifying an empty string:\u003cbr\u003e\n`uprefs list -i ''`\n\nIf EditorPrefs string values contain many line breaks, the output layout may be hard to read.\nTo address this, it is possible to remove newlines from values like so:\n`uprefs list --single-line`\n\nBy default, they output is colored if both keys and values are printed.\nThe utility attempts to detect when the output is piped into e.g. a file and will not show color in such cases.\nTo force no color for the command:\n`uprefs list --no-color`\n\nAlso, the environment variables `NO_COLOR` and `UPREFS_NO_COLOR` are supported.\n\nBy default, keys and values are separated by a colon.\nTo change the delimiter:\u003cbr\u003e\n`uprefs list -d ' = '`\n\n## View Individual Keys and Values\n\nUse the subcommand `has-key \u003ckey\u003e` to check if a key is present\nand `get-value \u003ckey\u003e` to retrieve the value. \n\n## Set Values\n\nTo set values, use one of the subcommands:\u003cbr\u003e\n`uprefs set-bool \u003ckey\u003e \u003cvalue\u003e`\u003cbr\u003e\n`set-int`\u003cbr\u003e\n`set-float`\u003cbr\u003e\n`set-string`\u003cbr\u003e\n\n## Remove Entries\nTo remove an entry without confirmation:\u003cbr\u003e\n`delete-key \u003ckey\u003e`\n\n# Contributing\nI will attempt to make this tool robust and functional as much as time allows.\nPlease feel free to add any suggestions, feature requests or bug reports to the GitHub Issues section.\nAll contributions are welcome!\n\n# Tips\nTo build a distributable executable:\u003cbr\u003e\n`swift build --configuration release`\n\nCopy to release folder:\u003cbr\u003e\n`cp -f .build/release/uprefs /usr/local/bin/uprefs`\n\nTo test the utility from source within the package folder:\u003cbr\u003e\n`swift run`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchrisyarbrough%2Fuprefs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchrisyarbrough%2Fuprefs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchrisyarbrough%2Fuprefs/lists"}