diff --git a/commands/misc.ipynb b/commands/misc.ipynb index 199dcef..de04cc2 100644 --- a/commands/misc.ipynb +++ b/commands/misc.ipynb @@ -38,6 +38,9 @@ "# See Anaconda installed packages\n", "!conda list\n", "\n", + "# List environments\n", + "!conda info -e\n", + "\n", "# Create Python 3 environment\n", "!conda create -n py3k python=3 anaconda\n", "\n", @@ -51,7 +54,23 @@ "!conda update conda\n", "\n", "# Update a package with Anaconda\n", - "!conda update ipython" + "!conda update ipython\n", + "\n", + "# Update a package\n", + "!conda update scipy\n", + "\n", + "# Update all packages\n", + "!conda update all\n", + "\n", + "# Install specific version of a package\n", + "!conda install scipy=0.12.0\n", + "\n", + "# Cleanup: Conda can accumulate a lot of disk space\n", + "# because it doesn’t remove old unused packages\n", + "!conda clean -p\n", + "\n", + "# Cleanup tarballs which are kept for caching purposes\n", + "!conda clean -t" ] }, {