{"id":14064524,"url":"https://github.com/ZEISS/install-hashicorp-binaries","last_synced_at":"2025-07-29T18:32:44.552Z","repository":{"id":37766434,"uuid":"307339243","full_name":"ZEISS/install-hashicorp-binaries","owner":"ZEISS","description":null,"archived":false,"fork":false,"pushed_at":"2024-06-04T14:09:02.000Z","size":68,"stargazers_count":2,"open_issues_count":1,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-29T22:11:57.512Z","etag":null,"topics":["bash-script","hashicorp","install-script","linux","macos","packer","powershell-script","terraform","vault","windows"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","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/ZEISS.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","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":"2020-10-26T10:42:04.000Z","updated_at":"2024-06-04T14:09:06.000Z","dependencies_parsed_at":"2024-08-13T07:18:42.987Z","dependency_job_id":null,"html_url":"https://github.com/ZEISS/install-hashicorp-binaries","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZEISS%2Finstall-hashicorp-binaries","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZEISS%2Finstall-hashicorp-binaries/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZEISS%2Finstall-hashicorp-binaries/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZEISS%2Finstall-hashicorp-binaries/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ZEISS","download_url":"https://codeload.github.com/ZEISS/install-hashicorp-binaries/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228040691,"owners_count":17860211,"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-script","hashicorp","install-script","linux","macos","packer","powershell-script","terraform","vault","windows"],"created_at":"2024-08-13T07:03:54.571Z","updated_at":"2024-12-04T03:30:58.954Z","avatar_url":"https://github.com/ZEISS.png","language":"PowerShell","funding_links":[],"categories":["PowerShell"],"sub_categories":[],"readme":"# Install HashiCorp binaries\n\n[![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/ZEISS/install-hashicorp-binaries?sort=semver\u0026logo=github)][github_releases]\n\nInstallation script for HashiCorp binaries hosted on https://releases.hashicorp.com (e.g. packer, terraform, vault).\n\n## Getting Started\n\nDownload the installtion script\n\nLinux / MacOS:\n\n```shell\ncurl -LO https://raw.github.com/ZEISS/install-hashicorp-binaries/master/install-hashicorp.sh\nchmod +x install-hashicorp.sh\n```\n\nWindows:\n\n```shell\nInvoke-WebRequest -UseBasicParsing `\n-Uri https://raw.github.com/ZEISS/install-hashicorp-binaries/master/install-hashicorp.ps1 `\n-OutFile install-hashicorp.ps1\n```\n\n### Prerequisities\n\nMacOS:\n* GNU utilities (see [Homebrew GNU bin](https://gist.github.com/skyzyx/3438280b18e4f7c490db8a2a2ca0b9da)) for `sed` and `grep`\n\nLinux / MacOS:\n\n* `bash` for executing script\n* `curl` for fetching metadata and archive\n* `unzip` for extracting binary from archive\n* `shasum` / `sha256sum` for verifying archive checksum\n* [`gpg`](https://gnupg.org/) for verifying checksum signature (optional)\n\nWindows:\n\n* `powershell` / `pwsh` for executing script\n* [`gpg`](https://gnupg.org/) for verifying checksum signature (optional)\n\n### Usage\n\nInstall the required HashiCorp binaries\n\nLinux / MacOS:\n\n```shell\n# ./install-hashicorp.sh \u003cname\u003e[:\u003cversion\u003e] [...]\n./install-hashicorp.sh packer terraform:0.14.0-rc1 vault:latest\n```\n\nWindows:\n\n```shell\n# .\\install-hashicorp.ps1 \u003cname\u003e[:\u003cversion\u003e] [...]\n.\\install-hashicorp.ps1 packer terraform:0.14.0-rc1 vault:latest\n```\n\n#### Script Details\n\n* Determines pre-compiled binary archive based on\n  * specified name\n  * specified or latest stable version\n  * detected operating system\n  * detected CPU architecture\n* Verifies system requirements\n* Verifies and imports PGP key (optional)\n* Fetchs archive, checksums and signature files\n* Verifies checksum signature (optional)\n* Verifies archive checksum\n* Extract binary from archive\n* Verifies binary code signature (for MacOS and Windows)\n* Adds binary to system's PATH\n  * Moves binary to `/usr/local/bin` (for Linux and MacOS)\n  * Moves binary to `${env:ProgramW6432}\\HashiCorp\\bin` (for Windows)\n  * Adds `${env:ProgramW6432}\\HashiCorp\\bin` to system's PATH (for Windows)\n* Cleans up archive, checksums and signature files\n* Verifies binary installation\n\n## Contributing\n\nIf you find issues, please register them at this [GitHub project issue page][github_issue] or consider contributing code by following this [guideline][github_guide].\n\n## Authors\n\n* [Brian Rimek](https://github.com/rembik)\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE][github_licence] file for details.\n\n[github_releases]: https://github.com/ZEISS/install-hashicorp-binaries/releases\n[github_issue]: http://github.com/ZEISS/install-hashicorp-binaries/issues/new/choose\n[github_guide]: http://github.com/ZEISS/install-hashicorp-binaries/tree/master/.github/CONTRIBUTING.md\n[github_licence]: http://github.com/ZEISS/install-hashicorp-binaries/tree/master/LICENSE\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FZEISS%2Finstall-hashicorp-binaries","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FZEISS%2Finstall-hashicorp-binaries","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FZEISS%2Finstall-hashicorp-binaries/lists"}