antonmedv / fx

Terminal JSON viewer & processor
https://fx.wtf
MIT License
19.08k stars 438 forks source link

[Bug]: Curl installation directions no longer work #244

Closed aarondill closed 1 year ago

aarondill commented 1 year ago

The curl installation no longer works. running curl 'https://fx.wtf' returns the contents of npm/index.js, thusly causing a syntax error when passed to sh

aarondill commented 1 year ago
> curl -sSLf https://fx.wtf | sudo sh
sh: 1: Syntax error: "(" unexpected
aarondill commented 1 year ago
> curl https://fx.wtf
void async function main() {
  const process = await import('node:process')
  let input = ''
  process.stdin.setEncoding('utf8')
  for await (const chunk of process.stdin)
  ......
antonmedv commented 1 year ago
curl https://fx.wtf/install.sh | sh
aarondill commented 1 year ago

Oh. I didn't notice that change. Thank you.