Installation
Installation is simple as one, two, three!
# npmnpm i -g astra-cli# yarn (classic)yarn global add astra-cli# pnpmpnpm add -g astra-cli
# for one project only# npmnpm i --save-dev astra-cli# yarnyarn add --dev astra-cli# pnpmpnpm add -D astra-cliCheck your installation
astra -vastra is not recognized as an internal or external command
- Type
npm bin -g(oryarn bin,pnpm bin) to get the path where npm installs global packages, copy the path. - Click windows type
environment variablesand click onEdit the system environment variables. - On left bottom click on
Environment Variables.... - In the
User variablessection, selectPathand clickEdit.... - Click
Newand paste the path you copied from step 1. - Click
OKon all the windows. - Restart your terminal.
- Done!