If Anaconda Navigator detects an available update, it will prompt to install the update, click `Yes to automatically update: The launch may take some time to complete and flashing boxes are normal during startup. Click on 'Anaconda Navigator' rather than 'Anaconda Prompt' or 'Anaconda PowerShell':Īnaconda Navigator will launch. Locate Anaconda Navigator by searching for 'Anaconda'. Launching Anaconda NavigatorĬlick on the ⊞ Start Menu. If the machine has Anaconda installed, only use conda commands, not pip commands. If Anaconda is installed on a machine, the conda and pip package managers can conflict leading to larger and more complex issues. Sponsor: Suffering from a lack of clarity around software bugs? Give your customers the experience they deserve and expect with error monitoring from online sources will indicate the use of pip to install packages or fix various issues. Remember also you can get lots of Nerd Fonts at, just make sure you get one (or generate one!) that includes PowerLine Glyphs. In the short term, you can get a forked version of Cascadia Code called Delugia Code and download that.Ĭascadia Code has been updated with a PL (Powerline) Glyph version! Go get it at and change the fontFace in your settings.json to "Cascadia Code PL" "fontFace": "Cascadia Code PL" Those glyphs are the ones that make this prompt look so cool!Īt the time of this writing there is active talk of getting Powerline and other Nerd Fonts into Cascadia Code, the new font that ships with Windows Terminal. If you do all this and you see squares and goofy symbols, it's likely that the font you're using doesn't have the advanced Powerline glyphs. Do your Linux source code/git work in the Linux filesystem for speed until WSL2 gets the file system faster under /mnt.Īt this point your Ubuntu/WSL prompt will look awesome as well!įonts look weird? Uh oh! Step Three - Get a better font However, if your source is under /mnt/c or /mnt anywhere, the git calls being made to populate the prompt are super slow. GOTCHA: If you are using WSL2, it'll be lightning fast with git prompts if your source code is in your Ubuntu/Linux mount, somewhere under ~/. PROMPT_COMMAND="_update_ps1 $PROMPT_COMMAND" You may already have a GOPATH so be aware. Go get -u /justjanne/powerline-goĪdd this to your ~/.bashrc. I just installed Go, then installed powerline-go with go get. I like Powerline-Go for it's easy defaults. There's a number of choices for Powerline or Powerline-like prompts from Ubuntu. I like Agnoster, Paradox, or Fish, myself. It's actually the name of a theme and you can (and should!) pick the theme that makes you happy and use that theme's name here. Then run "notepad $PROFILE" and add these lines to the end: Import-Module posh-git When you run Install-Module for the first time you'll get a warning that you're downloading and installing stuff from the internet so follow the prompts appropriately.Īlso get PSReadline if you're on PowerShell Core: Install-Module -Name PSReadLine -AllowPrerelease -Scope CurrentUser -Force -SkipPublisherCheck ![]() You can also use PowerShell on Linux too, so be aware. Run these commands from PowerShell or PowerShell Core. Install-Module oh-my-posh -Scope CurrentUser Install-Module posh-git -Scope CurrentUser This also assumes you've installed Git for Windows. Per these directions, install Posh-Git and Oh-My-Posh. ![]() Step Two for PowerShell - Posh-Git and Oh-My-Posh ![]() Note that if you were an early adopter of the Windows Terminal and you've released updated beyond 0.5, I'd recommend you delete or zero-out your profiles.json and let the Terminal detect and automatically recreate your profiles.json. You can also get it from GitHub's releases but I recommend the store because it'll stay up to date automatically. Get Windows Terminal free from the Store. I've blogged about Patching the new Cascadia Code to include Powerline Glyphs and other Nerd Fonts for the Windows Terminal but folks have asked very specifically, how do I make my prompt look like that? Step One - Get the Terminal
0 Comments
Leave a Reply. |