Skip to content

Update nnos #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: 2.4.4
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ Ready to join the conversation? Here's how to install **NNOS**:
```bash
nnos --shutdown
```
8. NNOS can install your favorite packages using NNPM (Nathan Network Package Manager)
```bash
nnos -p
```
# On Windows
1. [Download NNOS for Windows] (https://github.com/Natuworkguy/NNOS/tree/2.4.4/win)
2. Download run.bat
Expand Down
17 changes: 16 additions & 1 deletion linux/nnos
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,15 @@ if [ "$(cat /var/nnos/binarystorage/installed)" == "1" ]; then
;;
--help)
help
exit 1
;;
-p)
nnpm
exit 0
;;
--hello)
toilet "hello!"
;;
*)
echo "Usage: nnos: <Command>"
exit 1
Expand All @@ -41,13 +48,21 @@ else
case "$OPTION" in
--install)
echo "1" > /var/nnos/binarystorage/installed
apt install apache2
apt install toilet
apt install python3
apt install lolcat
wget http://downloads.nathannetwork.com/m/nnos/nnpm/nnpm
mv nnpm /bin/
apt update
apt upgrade
mv "$0" /usr/bin/
chmod +x $0
echo "To use NNOS, call the $(basename $0) command anytime."
exit 0
;;
*)
echo "Usage: nnos: <Command>"
echo "NNOS is not installed. Use nnos --install to install NNOS"
exit 1
;;
esac
Expand Down