tursodatabase / turso-cli

Command line interface to Turso.
https://turso.tech
MIT License
221 stars 37 forks source link

Native Windows support #318

Open penberg opened 1 year ago

penberg commented 1 year ago

We recommend people to use WSL, but there the CLI does work on Windows (with some bugs). If there's sufficient demand, let's fix up the issues to make native Windows a supported platform.

55lj commented 1 year ago

FWIW, turso-cli runs perfectly fine on my WSL2 (e.g., I don't face missing urls from https://github.com/chiselstrike/turso-cli/issues/259), I installed via curl and am on Linux XXX 5.15.90.1-microsoft-standard-WSL2

Looking at VS Code and all those remote extensions from Microsoft supporting developing in WSL2, I assume that developing in WSL2 on Windows is kind of the default nowadays (unless you do native Windows software).

TigersWay commented 1 year ago

developing in WSL2 on Windows is kind of the default nowadays (unless you do native Windows software).

It may be the default for some, but I - I know for certain I am not alone - usually have more than enough with git-bash. Install and use WSL only for Turso is kinda "heavy"!

henrikvilhelmberglund commented 1 year ago

Noticed this too when wanting to try out turso. I would prefer not to use WSL since I don't use it for anything else. mintty_D9I9ZB3z0Z

sakgoyal commented 1 year ago

Is there an update for this? I really don't want to install so many dependencies just to connect to my DB. WSL2 is very heavy since its essentially an entire VM

haaawk commented 1 year ago

We're currently busy wrapping up other work. We will take this issue into consideration when planning future work. Sorry for the inconvenience.

thatsmycode commented 10 months ago

Noticed this too when wanting to try out turso. I would prefer not to use WSL since I don't use it for anything else. mintty_D9I9ZB3z0Z

same here :(

deadcoder0904 commented 9 months ago

I don't use anything else either. Would love a native Windows installation.

Or winget/scoop support.

I can't even find a way to install turso without opening Git Bash.

Only use Powershell nowadays.

This should be prioritized tbh.

deadcoder0904 commented 9 months ago

Damn, it doesn't install in Git Bash too.

I got this while calling curl -sSfL https://get.tur.so/install.sh | bash:

$ curl -sSfL https://get.tur.so/install.sh | bash

Welcome to the Turso installer!

Operating system MINGW64_NT-10.0-22621 is not supported by this installation script
deadcoder0904 commented 9 months ago

Is there a way to create a database without being able to install turso-cli?

I can't find anything in dashboard.

ps: the profile pic footer overlaps with everything. some css issue that makes me unable to click on those 4-5 items like settings, logout.

edit: no worries, went with cloudflare d1 sqlite + litestream instead.

5vx commented 8 months ago

Same here. This is really annoying, would love MINGW64 support being implemented.

5vx commented 3 months ago

Still an issue and is what's discouraging me from buying a Turso plan :(

RayyanNafees commented 3 months ago

How about a re-write in rust ? Is the CLI that complicated ? it'd probably just calling some REST APIs & replicating the same on local ig

rakshasha-medhi commented 2 months ago

i've activated WSL2 on my Windows 10 system and tried install Turso CLI using command in the quickstart:

curl -sSfL https://get.tur.so/install.sh | bash

but I get this error message:

curl: (6) Could not resolve host: get.tur.so

No issue at all when I'm on my Linux system though...but sometimes I need to do something from Windows.

Also I tried the same command in Windows without WSL:

curl: (6) Could not resolve host: github.com

Seems to be a problem connecting to the source?

antonio-raian commented 2 days ago

Any update for this? The command curl -sSfL https://get.tur.so/install.sh -o install.sh is not working on Windows