Links is a simple and lightweight web browser that runs in the terminal. It allows you to visit websites, read web pages, search online, and download files using simple commands, you can use the keyboard shortcuts to navigate through websites and it can also help you to find the http headers and check document details.
What You Can Do with Links:
- Open websites in the terminal.
- Browse web pages using keyboard controls.
- Search for text on a page.
- View HTTP headers.
- Download files from websites.
- Check basic document information.
- Look up a hostname.
- Use text mode for lightweight browsing.
Install Links in Termux
Links can be installed easily in Termux with a single command, run the command below to start the installation.
Update the Termux package list first.
pkg updateInstall Links.
pkg install links -yIt requires around 5MB of internet data.
Check the installed version.
links -versionLinks Tool Usage Commands
After installing Links, you can start using it with simple commands. Below are some useful commands for browsing websites and using Links in the terminal.
Open a website:
links https://example.comYou can also start Links without a URL:
linksThen press g to enter a URL.
Look up a hostname:
links -lookup example.comOpen a website in text mode:
links -no-g https://example.comDisplay formatted webpage content directly in the terminal:
links -dump https://example.comDisplay the raw, unformatted data stream:
links -source https://example.comSet the output width when using dump mode:
links -dump -width 80 https://example.comShow the help page:
links -helpUseful Keyboard Controls
While browsing a page, you can use these keys:
- ↑ / ↓ — Select a link.
- Enter / → — Open the selected link.
- ← / z — Go back.
- g — Enter a URL.
- G — Enter a URL based on the current URL.
- Ctrl + R — Reload the page.
- / — Search for text.
- n — Find the next match.
- N — Find the previous match.
- ? — Search backward.
- d — Download.
- s — Open bookmarks.
- = — Show document information.
- \ — View the document source.
- | — View HTTP headers.
- Esc — Open the menu.
- q — Quit or close the current window.
- Ctrl + C — Quit Links.
- Ctrl + B — Copy to clipboard.
- Ctrl + V — Paste from clipboard.
For example, you can open a website with:
links https://example.comThen use the ↑ and ↓ keys to move between links and press Enter to open a selected link.
End Note
Links is a useful terminal browser for simple and fast web browsing. You can use it to visit websites, read content, search pages, and download files from the terminal.

