WMI

Website Management Indonesia

  • Home
  • About
  • privacy
  • tos
  • Archives
  • Sitemap
  • Table of Contents
  • Overview
  1. 1. Setup Windows
  2. 2. Setup Linux

Dimas Lanjaka

Website Management Indonesia is a blog about scripts, tips and tricks, games, software. Covering php, javascript, jquery, mysql, seo, e-commerce and others.
764 posts
21 categories
74 tags
GitHub E-Mail FB Page
0%

Setup node_modules bin on global environtment path

Posted on 2022-05-10 In uncategorized
How to setup node_modules/.bin on global environtment path

Setup Windows

Environtment Path Windows

Setup Linux

sudo gedit ~/.bashrc

add following codes to end of file

if [ -d "./bin" ] ; then
    export PATH="$PATH:./bin"
fi
if [ -d "./node_modules/.bin" ] ; then
    export PATH="$PATH:./node_modules/.bin"
fi

cover

# NodeJS # Bash # CMD
Redeem Code Chimeraland
Lazy Load Adsense Full Support 2022 Adsense API
© 2022 Dimas Lanjaka