Okeanos is a shell project for fun, not aimed to replace your current shell.
Preview of Okeanos' logo and default prompt running: echo "Hello, GitHub!"
If you are running a Windows NT system, you are unable to use Okeanos, support for it is unlikely to happen.
However, if you are using MacOS or (any) Linux (distro), you can continue the installation process.
It is recommended to install the Rust programming language via (Rustup)
- Rust programming language
-
If you want to replace your default shell to Okeanos:
Do not follow the instructions of the next item and proceed. -
If you want to run Okeanos directly from your shell:
Try configuring your current shell to include Cargo's binaries in thePATHvariable (if it wasn't automatically included byrustup) by including the following:export PATH="$PATH:$HOME/.cargo/bin"In your shell's configurations
-
gitorgh(Github CLI)
* not required if you download the repository via Web or Desktop
Currently, there are no stable releases of Okeanos, cloning the repository directly will give you the in-development or unstable version. Proceed if you are willing to face consequences.
- Clone the repository via any option in the "<> Code" tab, which can be found on the top of the GitHub repository's page.
- Run the following command in the
./Okeanos/directory (The cloned repository, replace if you cloned under a different name).
$ cargo build --release
$ cargo install --path .- Okeanos should be compiled as an executable inside the
./target/release/directory and installed to your Cargo binaries.
* Not recommended for you to change the default shell after following the unstable installation.
Note that changing your default shell to Okeanos requires you to have sudo or root access.
- Adding a new entry for Okeanos inside of
/etc/shells
sudo echo "$HOME/.cargo/bin/okeanos" >> /etc/shells # Normal user
echo "$HOME/.cargo/bin/okeanos" >> /etc/shells # Root user
# CLI Editors :: Append "$HOME/.cargo/bin/okeanos" to the opened file
# Note that you have to replace $HOME with your exact home directory.
sudo nano /etc/shells # nano
sudo vim /etc/shells # vim
# $HOME example: /home/notalternate
# Prepending result: /home/notalternate/.cargo/bin/okeanos- Change the default shell using
chsh. - In
chsh, Enter your password and Input:$HOME/.cargo/bin/okeanos(Example can be seen above) - Restart or Create a new shell session and your default shell should change to Okeanos.
Okeanos is an interactive shell, meaning you cannot make Okeanos parse a shell file.
After compiling and installing Okeanos, running the interactive shell directly from your current shell is simple:
okeanos
Note that in first-time running or if important Okeanos files were deleted, Okeanos will prompt you.
--version, -v: Outputs installed Okeanos version.
You can use Okeanos like any typical shells, however some implementations might break some commands because Okeanos is not aimed to replace your shell, so do not complain about that.
You can support the project by contributing to it via forking the repository, commit changes and opening up a pull request (Instructions on how to fork it can be read here), leaving a feedback or reporting an issue.
After a pull request, please be patient for me to review and manage conflicts.
The Okeanos shell repository owned by NotAlternate is licensed under the MIT license.
