Open nicholasglazer opened 6 months ago
for anyone else that stumbles across this - if you'd like to install with a single command, the following worked for me. (Using WSL and Ubuntu)
curl --proto '=https' --tlsv1.2 -sSf https://install.surrealdb.com | sed '244s/==/=/' | sh
You might have to replace the line number with the number you see in the error sh: 224: [:...
if anyone else is getting this error, mine was in fresh deb 11 server, just replace == with = in line or add double brackets and keep == in line 224 https://github.com/surrealdb/install.surrealdb.com/blob/fe4756cb1ac07717497b9e3d37adfd840ccca1a1/index.sh#L224C5-L224C44
I've opened a PR https://github.com/surrealdb/install.surrealdb.com/pull/12