npm install -g nativescript
For Windows:
@powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((new-object net.webclient).DownloadString('https://www.nativescript.org/setup/win'))"
For MacOS:
sudo ruby -e "$(curl -fsSL https://www.nativescript.org/setup/mac)"
tns doctor
tns create <ProjectName> --ng
On Device
tns run android
tns run ios
On Simulator
tns run android --emulator
tns run ios --emulator
Optional configs for vscode users:
git init
git add .
git commit -m "Initial Setup"