Share:
Notifications
Clear all

Earn While Learning Web3 Programming>> Start Here FREE!!!

[Solved] Flow CLI Setup on Windows OS, MacOS and Linux

2 Posts
2 Users
2 Reactions
736 Views
1
Topic starter

How to setup Flow CLI on Windows OS, MAcOS and Linux?

 

EXERCISE:

i. What Is Flow CLI?

ii. Summarize in your own word in this forum below:

(NOTE: please, don't just copy paste from other student - instead answer in your own word base on your level of understanding the lesson and resources)

 

 

 

NOTE:

This Is An Exercise From Our FREE COURSE:

 Hyperverse 201 - [DECENTOLOGY HYPERVERSE PROGRAMMING COURSE 002]

(If you have not enrolled yet, you can join the course totally for FREE).

 

2 Answers
1
Topic starter

What Is Flow CLI

Flow CLI allows you to interact with Flow Blockchain through the command line interface.

Recommended Resources:
Official - https://docs.onflow.org/flow-cli/install/
Github - https://github.com/onflow/flow-cli
help: https://flow.org/en/docs/cli/

 

 

 

1- FLow CLI Installation For Windows, MacOS and Linux:

- Follow instruction here ( https://docs.onflow.org/flow-cli/install/) to install latest version via terminal or Powershell

iex "& { $(irm 'https://storage.googleapis.com/flow-cli/install.ps1') }"

and ENTER

- Test Installation if successful or not

run

"Flow" or "Flow --help"

or

"Flow version"

and if return result like below

then you have successfully installed Flow CLI:

Version: v0.28.4
Commit: a4532449e3421ac9ed4bba8611794dfae4cde39d

 

 

 

2- After Successful Installation

- run this code to have access to Cadence code highlighting in your vs code for source files:
"flow cadence install-vscode-extension" and ENTER

- check flow cadence installation and version

run

"flow cadence"

and ENTER

and you will get success message like below:

PS C:\Windows\System32> flow cadence
Welcome to Cadence v0.19.0!
Type '.help' for assistance.
1>

type ".exit" to exit above command interface back to your normal command interface.

 

0

on MACOS use this 

sh -ci "$(curl -fsSL removed link )"

or 

brew install flow-cli

This post was modified 3 years ago by Joshua Isaac
Share: