Step #1: Download & start Nushell
# Using Brew for MacOS.
brew install nushell
# Start Nushell.
nu
Step #2: Set the default editor
# Setting it to Vim.
$env.config.buffer_editor = "vi"
Step #3: Open the config then add Brew to the $PATH
# Opens Nushell's config file.
config nu
# Add the below to the config file.
$env.config.buffer_editor = "vi"
$env.path ++= ["/opt/homebrew/bin", "/opt/homebrew/sbin"]
Step #4: Set Nushell as your new shell
# Be sure to insert your username.
sudo chsh -s /opt/homebrew/bin/fish "$USER"
Step #5: Quit, then verify it works
# Kill terminal first. Then run:
brew list
If brew list is working you should be all good. Double-check your other environment variables, config files, and terminal plugins for anything that may need to be brought over, like aliases.
This is a collection of my cybersecurity notes & projects.
I graduated from Dakota State University with a MS in Cyber Defense & BS in Cyber Operations. Since then I've worked as a Malware Analyst with the U.S. Army Cyber Command, and am now a Web Application Security Consultant.
I'm a big fan of open security standards for applications and workflow automation when it comes to security testing. The easier it is to identify and replicate, the more secure everyone's apps can be! My other writings and projects are scattered across the web, but can be found in the links page.
Contact me: