Commands for android

Can anyone tell the commands to install the editors on android on the hikey960 board.
pm install does not work.
hikey960:/ # vim file1.txt
/system/bin/sh: vim: not found
127|hikey960:/ # pm install vim
Error: Can’t open non-file: vim
1|hikey960:/ #

I’ve just updated the category for this post but please could you try to post in the correct product category next time.

I’d try to enrich the existing toybox. For example busybox includes a vi implementation so you might be able to work with something like: