• Björn@swg-empire.de
    link
    fedilink
    arrow-up
    8
    ·
    18 hours ago

    It’s a program to download stuff from the web. It is very flexible. You can tell it to use cookies, post form data, upload and download files. It can do basically everything a web browser does without a graphical user interface.

    It is built into many software pieces. And developers love it to test stuff.

      • asudox@lemmy.asudox.dev
        link
        fedilink
        arrow-up
        11
        ·
        18 hours ago

        Believe me, you aren’t going to get used to nor enjoy “browsing” the web with curl. It’s not what you think it is.

          • thingsiplay@beehaw.org
            link
            fedilink
            arrow-up
            10
            ·
            17 hours ago

            For that I would rather recommend a terminal browser like lynx, w3m or links2 in example. curl is more like a single web request to download one piece of raw file (an html page or an image in example). It is not meant to interpret websites and display results. If you want save webpages for offline view, then something like wget.

          • 48954246@lemmy.world
            link
            fedilink
            English
            arrow-up
            6
            ·
            18 hours ago

            The modern internet isn’t designed to be interacted with via a terminal.

            So much of the internet today runs on JavaScript and curl won’t run that