How to copy the data of influxdb into a file (excel or csv)

You have to install Chronograf according to this doc Installing Chronograf | Chronograf 1.7 Documentation.

But I think it’s only on Linux, Mac, or in Windows with docker Docker.

If you don’t want to install Chronograf and download data, you can do this with a curl command like suggested in this post Export big data from influxdb - #2 by sbains