39 lines
897 B
Markdown
39 lines
897 B
Markdown
setup miniconda:
|
|
|
|
# create env
|
|
conda create --name petals #python=3.10
|
|
conda create --prefix D:\conda\envs\node
|
|
|
|
conda activte
|
|
conda install pip
|
|
pip install -r requirements.txt
|
|
#pip install petals
|
|
pip install aider-chat
|
|
export OPENAI_API_KEY=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
|
|
set OPENAI_API_KEY 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
|
|
|
|
|
|
# remove > Remove all packages in environment
|
|
conda deactivate
|
|
conda env remove --name petals
|
|
# Remove all packages from environment `myenv` and the environment itself::
|
|
conda remove -n myenv --all
|
|
|
|
|
|
# conda install node
|
|
conda install -c conda-forge nodejs
|
|
conda update -c conda-forge nodejs
|
|
conda install -c conda-forge nodejs=18
|
|
# uninstall
|
|
conda uninstall nodejs
|
|
|
|
|
|
# get package location
|
|
pip show {package[pip]}
|
|
|
|
# install next (node)
|
|
npm install next
|
|
|
|
|
|
#} install nextjs
|
|
npm install next@latest react@latest react-dom@latest |