{"id":22736575,"url":"https://github.com/fredwangwang/flyenv","last_synced_at":"2025-10-03T19:12:41.042Z","repository":{"id":64304265,"uuid":"254682423","full_name":"fredwangwang/flyenv","owner":"fredwangwang","description":"Concourse CI cli wrapper","archived":false,"fork":false,"pushed_at":"2020-05-17T02:36:32.000Z","size":50,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-05T05:22:52.300Z","etag":null,"topics":["cli"],"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/fredwangwang.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}},"created_at":"2020-04-10T16:26:46.000Z","updated_at":"2023-03-22T03:03:58.000Z","dependencies_parsed_at":"2023-01-15T10:15:17.851Z","dependency_job_id":null,"html_url":"https://github.com/fredwangwang/flyenv","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fredwangwang%2Fflyenv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fredwangwang%2Fflyenv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fredwangwang%2Fflyenv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fredwangwang%2Fflyenv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fredwangwang","download_url":"https://codeload.github.com/fredwangwang/flyenv/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246269911,"owners_count":20750319,"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":["cli"],"created_at":"2024-12-10T21:27:48.255Z","updated_at":"2025-10-03T19:12:36.005Z","avatar_url":"https://github.com/fredwangwang.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Flyenv\n\nIf you need to work with multiple [Concourse](https://concourse-ci.org/) instances running on different version,\nyou must have run `fly -t \u003ctarget\u003e sync` a couple times when you jumping back and forth between those instances.\n\nflyenv could be **the** solution.\n\nIt manages the `fly` cli version for you:\n\n```\n$ mv flyenv $(command -v fly)\n$ fly --version # it downloads the latest fly cli from github when running for the first time\n2020/04/10 19:54:06 download cli from: https://github.com/concourse/concourse/releases/download/v6.0.0/fly-6.0.0-darwin-amd64.tgz\n6.0.0-flyenv\n\n$ fly -t c571 curl /api/v1/info\n2020/04/10 19:56:03 download cli from: https://c571.local/api/v1/cli?arch=amd64\u0026platform=darwin\n{\"version\":\"5.7.1\",\"worker_version\":\"2.2\",\"external_url\":\"https://c571.local\"}\n\n$ fly -t c580 curl /api/v1/info\n2020/04/10 19:57:00 download cli from: https://c580.local/api/v1/cli?arch=amd64\u0026platform=darwin\n{\"version\":\"5.8.0\",\"worker_version\":\"2.2\",\"external_url\":\"https://c580.local\"}\n\n$ fly -t c571 --version # \"-flyenv\" suffix is added to differentiate with fly cli\n5.7.1-flyenv\n\n$ fly --version # for commands without a target it fallback to use the cli downloaed initially\n6.0.0-flyenv\n```\n\n# How it works\nWhen you use the command with the specific target, it fetches the concourse version of the target and determine if the\ncorresponding fly version is already installed under `$HOME/.flyenv/\u003cversion\u003e/fly`. If not it downloads the fly cli\nfrom the target and put it to the directory above.\n\n# Skip SSL Validation\n\nSometimes you may have Concourse targets that don't have valid certificates. You can tell flyenv to skip SSL validation by setting the `FLYENV_SKIP_SSL` environment variable before running `fly` commands.\n\n# Installation\n\nDownload the binary from release.\n\n## Recommended:\noverride the fly installed with the flyenv binary to have a more transparent experience.\n\n# Install from source\n\n1. clone the repo\n1. go mod download\n1. go build\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffredwangwang%2Fflyenv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffredwangwang%2Fflyenv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffredwangwang%2Fflyenv/lists"}