Getting wifi/hotspot on a debian minimal installation

yesterday I installed debian with minimal install and no internet because I couldn’t find any way to connect to it in the installation process.

I tried to follow some tutorials but they would always fail with “invalid command” or “cannot find device ..”

So I was asking if it was possible to connect to a wifi/hotspot?

What i found:

Some users suggested to modify the content of /etc/network/interface, but i’d get an error after executing the command (ip link set .. up)

Any help would be greatly appreciated, thanks!