diff --git a/src/components/InstallTabs/index.tsx b/src/components/InstallTabs/index.tsx index e4e4e30..857a535 100644 --- a/src/components/InstallTabs/index.tsx +++ b/src/components/InstallTabs/index.tsx @@ -15,15 +15,13 @@ const INSTALL_OPTIONS: Array<{ id: 'windows', label: 'Windows', language: 'powershell', - command: - 'iwr https://github.com/ferrus-dev/ferrus/releases/latest/download/install.ps1 -useb | iex', + command: 'irm https://ferrus.dev/cli/install.ps1 | iex', }, { id: 'unix', label: 'Linux/macOS', language: 'bash', - command: - 'curl -fsSL https://github.com/ferrus-dev/ferrus/releases/latest/download/install.sh | sh', + command: 'curl -fsSL https://ferrus.dev/cli/install.sh | sh', }, ]; diff --git a/static/_redirects b/static/_redirects new file mode 100644 index 0000000..d81b8b4 --- /dev/null +++ b/static/_redirects @@ -0,0 +1,4 @@ +# Pretty aliases for the ferrus CLI install scripts. +# https://ferrus.dev/cli/install.sh -> latest GitHub release asset +/cli/install.sh https://github.com/ferrus-dev/ferrus/releases/latest/download/install.sh 302 +/cli/install.ps1 https://github.com/ferrus-dev/ferrus/releases/latest/download/install.ps1 302