WSL on Windows 10 offers an easy way to get started with Fission CLI.
WSL is disabled by default so if you have never used it before, the first step will be enabling the optional feature. Open PowerShell as Administrator and enter the following:
> Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
After restarting your computer, you'll be ready for the next step.
Before using WSL, you need to add a Linux distribution. Run PowerShell as Administrator and enter the following command:
> choco install wsl-ubuntu-1804> wsl --list
If the installation was successful then Ubuntu should be listed.
We recommend installing IPFS from a prebuilt package. First, download the 64-bit Linux package for your platform.
Enter WSL, untar the archive, and run the
./install.sh script (which just moves the binary to your local Linux bin path).
> wsl$ tar xvfz go-ipfs.tar.gz$ cd go-ipfs$ ./install.sh
$ ipfs helpUSAGE:ipfs - Global p2p merkle-dag filesystem....
For more installation options, check out the Install IPFS guide.
Head over to our releases page on Github and download the latest release for your operating system.
Unzip the file into your Windows Downloads folder then open PowerShell as Administrator and run the following commands:
> cd ~\Downloads> wsl$ pwd
The output of
pwd should show
/mnt/c/Users/<username>/Downloads which is the mounting point of your Windows Downloads folder in Linux. Now you can move the binary to your Linux PATH:
$ mv ./fission-cli-exe /usr/local/bin/fission
Linux requires an additional dependency:
$ apt update$ apt install libpq-dev
That's it! Double check that it's installed correctly:
$ fission --helpCLI to interact with Fission servicesUsage: fission [--version] [--help] COMMANDFission makes developing, deploying, updating and iterating on webapplications quick and easy....