Scan
Explore
Examine
A simple file viewer with syntax highlighting for Linux, Windows and macOS.
The see
tool is a command-line utility for viewing files in a user-friendly manner. Follow the steps below to install see
on your supported operating systems. Ensure you have curl
installed.
Run this command to check if curl
is installed:
command -v curl >/dev/null 2>&1 && echo "YES" || echo "NO"
If the previous command outputs YES
, then curl
is installed and you can continue.
If it returns NO
, then curl
is not installed. In this case, please check how to install curl
on your system and then repeat this step.
Remove any outdated installer from your current working directory, if present:
[ -f ./install ] && rm -f ./install
Next, use curl
to download the latest installer:
curl -O https://raw.githubusercontent.com/Henrisen/see/refs/heads/main/install
You will need sudo permissions to run the installer. Use the following commands:
chmod +x ./install
sudo ./install
Run this command to check if curl
is installed:
where curl >nul 2>&1 && echo YES || echo NO
If the previous command outputs YES
, then curl
is installed and you can continue.
If it returns NO
, then curl
is not installed. In this case, please check how to install curl
on your system and then repeat this step.
Remove any outdated installer from your current working directory, if present:
if exist .\install del /f .\install
Next, use curl
to download the latest installer:
curl -O https://raw.githubusercontent.com/Henrisen/see/refs/heads/main/install.bat
You will need sudo permissions to run the installer. Use the following commands:
.\install.bat
To install see
with a single command:
command -v curl >/dev/null 2>&1 || { echo "curl is not installed. Please install curl and try again."; } && rm -f ./install && curl -s -O https://raw.githubusercontent.com/Henrisen/see/refs/heads/main/install && chmod +x ./install && sudo ./install
where curl >nul 2>&1 || (echo "curl is not installed. Please install curl and try again." & pause & exit /b) && (if exist installer.bat del /f installer.bat) & curl -s -O https://raw.githubusercontent.com/Henrisen/see/refs/heads/main/install.bat && (if exist install.bat call install.bat || (echo Failed to download installer.bat. & pause))
To use see
, run it with the name of the file you want to open:
see example.sh
For real-time file updates, use the -f
/ --follow
flag:
Currently only on Unix Version
see -f example.sh
For custom update intervals, use the -u
/ --update-interval
flag (default is 125 ms):
Currently only on Unix Version
see -fu125 example.sh
To uninstall see
, use the following commands:
git clone https://github.com/Henrisen/see.git
cd see
sudo make uninstall
This project is licensed under the BSD 3-Clause License. See the LICENSE file for more details.
Contributions to this project are welcome. Please fork the repository, make your changes, and submit a pull request. Ensure your code adheres to the project’s coding standards and includes relevant tests.
- Fork the repository
- Create a new branch for your feature
- Commit your changes
- Push your branch to your fork
- Open a pull request
- Wait for Approval