base64 not recognized Windows 10

16.1k Views Asked by At

I would like to download Fuchsia's source code.

I entered curl -s "https://fuchsia.googlesource.com/fuchsia/+/HEAD/scripts/bootstrap?format=TEXT" | base64 --decode | bash that I found on fuchsia.dev.

I got ''base64'' is not recognized as an internal or external command, operable program or batch file.

I downloaded base64 tools without success.

What should I do to make this command work?

2

There are 2 best solutions below

0
Marco On

You won't be able to build fuchsia from Windows directly. Most people use the Windows Subsystem For Linux to get a Linux-like environment, and that should work.

On top of the download script, fuchsia ships with a bunch of prebuilts, which are only built for linux and mac.

1
Nedelin Aleksandrov On

Command base64 works on Ubuntu, so I could recommend you to download Ubuntu from the Microsoft Store and write the command there.