---
tags: atlnz
---
# Copy device-port-picker build to vista manager
#### The scripts run in vista
Reinstall all dependencies
```
yarn cache clean && yarn clean && yarn install --force
```
#### The scripts run in device-port-picker
Build device-port-picker and copy its build artifacts(located in `./dist` folder) to the root of `node_modules/@alliedtelesis` in vista manager
```
# replace to your path
export DEV_PROT_PK_PATH=~/dev/device-port-picker
export VISTA_PATH=~/dev/vista-ex
cd $DEV_PROT_PK_PATH
# build and copy to vista
yarn build && cp -r ./dist/* $VISTA_PATH/node_modules/@alliedtelesis/device-port-picker/
```
**Note**: Both `yarn build` and `yarn build:dev` can be used to build
#### Verify your vista build
```
yarn cache clean && yarn app:serve
```