On windows, you will have to install Bash first. We recommend installing Git Bash which is packed in the [Git installer from git-scm](https://git-scm.com/downloads).
Then you'll have to install jq:
- Get the latest windows version from https://stedolan.github.io/jq/download/
- Rename the `jq-win64.exe` file to `jq.exe` and move it to `C:/Users/your_name/bin`
## eclair-cli installation
- Download the eclair-cli file from [our sources](https://github.com/ACINQ/eclair/blob/master/eclair-core/eclair-cli)
ℹ️**Protip:** you can edit the `eclair-cli` file and save the API password/url so you don't have to set them every time. We will omit them in the examples below.
Note that you may have to install jq first if it's not already installed on your machine:
```shell
sudo apt-get install jq
```
## Example 1: open a channel with eclair-cli
Your node listens on 8081. You want to open a 140 mBTC channel with `endurance.acinq.co` on Testnet.
eclair-cli open --nodeId=03933884aaf1d6b108397e5efe5c86bcf2d8ca8d2f700eda99db9214fc2712b134 --fundingSatoshis=14000000
```
This will broadcast a funding transaction to the bitcoin blockchain.
Once that transaction is confirmed, your lightning channel will be ready for off-chain payments.
:warning: You should NEVER use RBF to bump the fees of that funding transaction, otherwise you won't be able to recover your funds unless your peer cooperates. If the transaction doesn't confirm, you should use CPFP to bump the fees.