npm install toastr angular code example Example: install toastr in angular npm install ngx-toastr --save