Skip to content

Commit ab5f501

Browse files
committed
replace miniconda with pixi
Signed-off-by: Keming <kemingy94@gmail.com>
1 parent 18691fe commit ab5f501

File tree

2 files changed

+8
-12
lines changed

2 files changed

+8
-12
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ This is my personal dotfile.
1010

1111
**basic env**
1212

13-
- [x] [Miniconda](https://docs.conda.io/en/latest/miniconda.html)
13+
- [x] [pixi](https://pixi.sh)
1414
- [x] [fish-shell](https://fishshell.com)
1515
- [x] [neovim](https://github.com/neovim/neovim)
1616
- [x] config based on [kickstart.nvim](https://github.com/nvim-lua/kickstart.nvim)

py.sh

+7-11
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,13 @@
11
#!/bin/bash
22
set -euo pipefail
33

4-
CONDA="Miniconda3-latest-Linux-x86_64.sh"
4+
# pixi
5+
curl -fsSL https://pixi.sh/install.sh | sh
6+
export PATH=$PATH:$HOME/.pixi/bin
57

6-
# conda
7-
[ -f "/tmp/${CONDA}" ] || wget -O /tmp/${CONDA} "https://repo.anaconda.com/miniconda/${CONDA}"
8-
sudo mkdir -p /opt/conda
9-
sudo chown $(whoami):$(whoami) /opt/conda
10-
sh /tmp/${CONDA} -b -u -p /opt/conda
11-
/opt/conda/bin/conda init
12-
13-
# related libraries
14-
/opt/conda/bin/conda install -y -c conda-forge ncurses bat ripgrep eza fd-find starship gh typos
15-
/opt/conda/bin/pip install httpie ruff black ipython
8+
# conda libraries
9+
pixi global install bat ripgrep eza fd-find starship gh typos
10+
# pypi libraries
11+
pixi global install httpie ruff ipython
1612
mkdir -p ${HOME}/.config
1713
cp starship.toml ${HOME}/.config/

0 commit comments

Comments
 (0)