An Interest In:
Web News this Week
- April 19, 2024
- April 18, 2024
- April 17, 2024
- April 16, 2024
- April 15, 2024
- April 14, 2024
- April 13, 2024
WIP: Node development on iPhone
this is just a dump of my commands and findings. It is not stable yet, still finding out things... keep you posted
Why even want this?
Just for fun, because I can. Practise with shell, if you have shell, you can do everything (except browsing the web for pages that use javascript).
How (basics)
install ish from app store
uname -a
where are the logs
is it persistant?
- iSH FAQ
- find packages to installnvim keeps on crashing, nothing in /var/loghow to scroll up with keyboard?how to reset to clean ish?
Alpine Package Keeper (apk)
apk add git
apk search nodejs-current
Editor: neovim
echo https://dl-cdn.alpinelinux.org/alpine/edge/main > /etc/apk/repositoriesecho https://dl-cdn.alpinelinux.org/alpine/edge/community >> /etc/apk/repositoriesapk updateapk upgradeapk add neovim
Usage
not all commands work: vsplit etc, keeps on crashing
nvim
escape key: ctrl-c
basic noevim commands
Node
latest is v14, v16 is there as 'current'
See https://dl-cdn.alpinelinux.org/alpine/ for latest or specific version
vi /etc/apk/repositories
add:
https://dl-cdn.alpinelinux.org/alpine/latests-stable/main
https://dl-cdn.alpinelinux.org/alpine/latest-stable/community
apk upgrade
// need specific version because npm has newer versions
apk add node npm
SSH
Sources
Original Link: https://dev.to/rkristelijn/node-development-on-iphone-3b5h
Dev To
An online community for sharing and discovering great ideas, having debates, and making friendsMore About this Source Visit Dev To