Ângelo Ocanã

Développement et formation d'applications Web

Setup dev env Arch linux

Modifier
Étiquettes

Install git

    sudo pacman -S git

Install Nodejs

    sudo pacman -S nodejs

Install NPM

    sudo pacman -S npm

Fix global permissions error

https://docs.npmjs.com/getting-started/fixing-npm-permissions

Make a directory for global installations:

    mkdir ~/.npm-global

Configure npm to use the new directory path:

    npm config set prefix '~/.npm-global'

Open or create a ~/.profile file and add this line:

    export PATH=~/.npm-global/bin:$PATH

Back on the command line, update your system variables:

    source ~/.profile

Install vs code

    yaourt -S visual-studio-code

Install Python for Gatsby

    sudo pacman -S python2
Étiquettes

Lisez la suite

Voir d'autres messages intéressants >>