Last active
February 6, 2023 15:35
-
-
Save akelch/e916dfd6b45e28ac5ec653dcf509956b to your computer and use it in GitHub Desktop.
Manjaro 21.1.6 ViUR - Setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
----------------------------------------------------------------------------------------------------------------- | |
Preconfig | |
----------------------------------------------------------------------------------------------------------------- | |
sudo pacman -Syu | |
sudo pacman -S base-devel | |
sudo pacman -S git | |
sudo pacman -S yay | |
----------------------------------------------------------------------------------------------------------------- | |
Python 3 | |
----------------------------------------------------------------------------------------------------------------- | |
sudo pacman -Syu python-pip | |
----------------------------------------------------------------------------------------------------------------- | |
pipenv | |
----------------------------------------------------------------------------------------------------------------- | |
cd ~ | |
pip install pipenv | |
echo 'export PATH="$HOME/.local/bin:$PATH"' >> .zshrc | |
----------------------------------------------------------------------------------------------------------------- | |
pyenv | |
----------------------------------------------------------------------------------------------------------------- | |
cd ~ | |
curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer | bash | |
echo 'export PATH=$HOME/.pyenv/bin:$PATH' >> .zshrc | |
echo 'eval "$(pyenv init -)"' >> .zshrc | |
echo 'eval "$(pyenv virtualenv-init -)"' >> .zshrc | |
----------------------------------------------------------------------------------------------------------------- | |
gcloud | |
----------------------------------------------------------------------------------------------------------------- | |
yay -S google-cloud-sdk | |
yay -S google-cloud-sdk-app-engine-python | |
yay -S google-cloud-sdk-app-engine-python-extras | |
gcloud init | |
gcloud auth application-default login | |
----------------------------------------------------------------------------------------------------------------- | |
node + npm | |
----------------------------------------------------------------------------------------------------------------- | |
yay -s nodejs | |
yay -s npm | |
sudo npm install -g n | |
sudo n stable |
google-cloud-sdk is marked as not up to date in the AUR.
Recommendation here is to follow the steps in the google cloud sdk documentation:
https://cloud.google.com/sdk/docs/install-sdk
For the components app-engine-python and app-engine-python-extras follow this steps:
https://cloud.google.com/sdk/gcloud/reference/components/install
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
yay -S nodejs
yay -S npm
I would install NVM first and via NVM u can install latest nodejs, it is cleaner and faster to do it that way.
Like this:
yay -S nvm
echo 'source /usr/share/nvm/init-nvm.sh' >> ~/.bashrc
for bashecho 'source /usr/share/nvm/init-nvm.sh' >> ~/.zshrc
for zshnvm install --lts
for LTS version of nodejsnvm install node
for latest versionnpm install -g npm@latest