Right-click the shop terminal to open the trade window.
Left-click the item in your Inventory you want to sell and move it to the shop to see how many credits you will get for it.
Be absolutely sure you want to sell the item before accepting the trade. It will cost you much more to buy the item back from the shop than you got for selling it!
To accept the trade, left-click the Accept button.