SaturnCLI is made to make using APT less annoying by providing an easy to use set of commands with syntax highlighting that never require you to ever have to type sudo or worry about case sensitivity!
Getting started for contributing to SaturnCLI is very easy, you just need to follow the instructions below if you wish to build from source.
In order to start building SaturnCLI, you are going to need to have rustup and cargo installed (Installing rustup automatically installs cargo so just worry about rustup). You can get rustup here.
Without APT (Linux) it's useless though so be sure to install what fits for your system!
- cd into the stn directory (You can easily do so by opening the terminal typing
cd
and dragging and dropping the stn folder into the terminal window and clicking the enter key). - Run
cargo build --release
in the terminal. - Make sure your in the stn directory and from there go into the target directory and then go into the release directory (stn --> target --> release).
- You should see a executable file named
stn
. - Congratulations! You have successfully built SaturnCLI (stn)!
- If you want to build from source click here. If you just want a precompiled binary click here
- Navigate to
/usr/local/bin/
. - Drag the stn binary you got from compiling (or downloading) SaturnCLI in the window that just popped up.
- Congratulations! You have successfully installed SaturnCLI (stn)! Without APT (Linux) it's useless though so be sure to install apt if you don't have it!
- Whenever a new SaturnCLI update is out just rebuild or download the latest precompiled binary by clicking here, navigate to
/usr/local/bin/
and replace the oldstn
binary with the newstn
binary you just rebuilt.
- If you want to build from source click here. If you just want a precompiled binary click here
- Navigate to your
C:
directory (This should be your very last directory shown in the file explorer besidesThis PC
) and create a new folder namedbin
. - Put the
stn
binary in thebin
folder. - In the
Type here to search
box searchEdit the system environment variables
and open the control center program. - Click
Envirnment Variables..
. - Under
System variables
(The bottom box with the list of variables) look for the variable namedpath
and click on it then clickEdit...
(A window namedEdit envirnment variable
should pop up). - Click
New
and inputC:\bin
for the new entry. After you do that clickOK
for all the windows related toEdit envirnment variable
. - In the
Type here to search
box searchRegistry Editor
and open the Registry Editor app (If it asks if you want to allow the app to make changes to your device chooseYes
). - Click the drop down arrow for
HKEY_CURRENT_USER
and select the folder namedConsole
. - In the box where it says
Name
,Type
, andData
look for the nameVirtualTerminalLevel
(UnderName
of course). If you don't seeVirtualTerminalLevel
right click in the box, hover overNew
and clickDWORD (32-bit) Value
and give it the nameVirtualTerminalLevel
. - Right click on
VirtualTerminalLevel
and clickModify...
(A window namedEdit DWORD (32-bit) Value
should pop up). - Make sure the
Value name:
isVirtualTerminalLevel
, make sure theValue data:
is1
, and make sure theBase
hasHexadecimal
selected. After all that information has been properly set clickOK
and exit the Registry Editor app (This registry option has to be set to1
so ANSI mode is enabled by default so text coloring properly works with SaturnCLI, if you want to revert this back just set theValue data:
to0
but if you do choose to revert back coloring in SaturnCLI will break and the text will be hard to read because the escape sequences will be shown). - Congratulations! You have successfully installed SaturnCLI (stn)! Without WSL (The Linux subsystem for Windows) SaturnCLI will be useless so make sure you install WSL and make sure the Linux distribution you use with WSL has APT installed.
- Whenever a new SaturnCLI update is out just rebuild or download the latest precompiled binary by clicking here, navigate to
C:\bin
and replace the oldstn
binary with the newstn
binary you just rebuilt.
SaturnCLI commands:
stn search <query>
- Searches for specified querystn list [--flag(s)] <package(s)>
- Lists specified packagesstn info [package(s)]
- Display info on specified package(s)stn install [package(s)]
- Installs specified package(s)stn reinstall [package(s)]
- Reinstalls specified package(s)stn remove [package(s)]
- Removes specified package(s)stn add-key <filepath>
- Adds a key to the list of trusted keysstn edit-sources
- Opens the APT repo editorstn add-repos [--flag(s)] <repo(s)>
- Adds new repo(s)stn add-source
- Adds a new repositorystn autoremove
- Removes unneeded packages (orphans)stn update
- Updates the repository listsstn upgrade [package(s)]
- Upgrades specified packagesstn full-upgrade <package(s)>
- Upgrades the system (or package(s)) (Linux Only)stn version
- Show APT, DPKG, and SaturnCLI versionsstn clean
- Clear the download cachestn help <command>
- Opens help menu for specified commandsstn about
- View legal information and credits
- RustLang - The only used programming language.