54 lines
1.5 KiB
JavaScript
54 lines
1.5 KiB
JavaScript
export const VERSION = '1.9.4'
|
|
export const CHANGELOG_URL =
|
|
'https://github.com/hashicorp/vault/blob/main/CHANGELOG.md#194'
|
|
|
|
// HashiCorp officially supported package managers
|
|
export const packageManagers = [
|
|
{
|
|
label: 'Homebrew',
|
|
commands: ['brew tap hashicorp/tap', 'brew install hashicorp/tap/vault'],
|
|
os: 'darwin',
|
|
},
|
|
{
|
|
label: 'Ubuntu/Debian',
|
|
commands: [
|
|
'curl -fsSL https://apt.releases.hashicorp.com/gpg | sudo apt-key add -',
|
|
'sudo apt-add-repository "deb [arch=amd64] https://apt.releases.hashicorp.com $(lsb_release -cs) main"',
|
|
'sudo apt-get update && sudo apt-get install vault',
|
|
],
|
|
os: 'linux',
|
|
},
|
|
{
|
|
label: 'CentOS/RHEL',
|
|
commands: [
|
|
'sudo yum install -y yum-utils',
|
|
'sudo yum-config-manager --add-repo https://rpm.releases.hashicorp.com/RHEL/hashicorp.repo',
|
|
'sudo yum -y install vault',
|
|
],
|
|
os: 'linux',
|
|
},
|
|
{
|
|
label: 'Fedora',
|
|
commands: [
|
|
'sudo dnf install -y dnf-plugins-core',
|
|
'sudo dnf config-manager --add-repo https://rpm.releases.hashicorp.com/fedora/hashicorp.repo',
|
|
'sudo dnf -y install vault',
|
|
],
|
|
os: 'linux',
|
|
},
|
|
{
|
|
label: 'Amazon Linux',
|
|
commands: [
|
|
'sudo yum install -y yum-utils',
|
|
'sudo yum-config-manager --add-repo https://rpm.releases.hashicorp.com/AmazonLinux/hashicorp.repo',
|
|
'sudo yum -y install vault',
|
|
],
|
|
os: 'linux',
|
|
},
|
|
{
|
|
label: 'Homebrew',
|
|
commands: ['brew tap hashicorp/tap', 'brew install hashicorp/tap/vault'],
|
|
os: 'linux',
|
|
},
|
|
]
|