mirror of
https://github.com/kogakure/dotfiles.git
synced 2026-02-04 04:35:29 +00:00
Add asdf as version manager (#2)
* feat(asdf): add new version manager asdf * feat(asdf): replace nvm with asdf * feat(asdf): replace rbenv with asdf * chore: add aliases for git * feat(asdf): replace pyenv with asdf * feat(asdf): add asdf as version manager for rust * chore: shorten comments * feat(asdf): add asdf as deno version manager * feat(asdf): add direnv plugin and setup shell * chore(asdf): move configuration in folder
This commit is contained in:
@@ -1,21 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Install Pyenv
|
||||
curl -L https://raw.githubusercontent.com/pyenv/pyenv-installer/master/bin/pyenv-installer | bash
|
||||
|
||||
# Activate Pyenv
|
||||
export PYENV_ROOT="$HOME/.pyenv"
|
||||
export PATH="$PYENV_ROOT/bin:$PATH"
|
||||
eval "$(pyenv init --path)"
|
||||
eval "$(pyenv virtualenv-init -)"
|
||||
|
||||
pyenv install 3.10.1
|
||||
asdf plugin-add python
|
||||
asdf install python latest
|
||||
asdf global python latest
|
||||
|
||||
pip install -r ~/.dotfiles/python/pip-requirements.txt
|
||||
|
||||
jupyter nbextension install --py --sys-prefix jupyter_ascending
|
||||
jupyter nbextension enable jupyter_ascending --sys-prefix --py
|
||||
jupyter serverextension enable jupyter_ascending --sys-prefix --py
|
||||
|
||||
conda install -n base ipykernel --update-deps --force-reinstall
|
||||
conda install --file ~/.dotfiles/python/conda-requirements.txt
|
||||
|
||||
Reference in New Issue
Block a user